Skip to content
Snippets Groups Projects
config-external.sh 199 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/bash
    SOURCE="/opt/kolla/nova-api/nova.conf"
    TARGET="/etc/nova/nova.conf"
    OWNER="nova"
    
    if [[ -f "$SOURCE" ]]; then
        cp $SOURCE $TARGET
        chown ${OWNER}: $TARGET
        chmod 0644 $TARGET
    fi