kolla-ansible/docker/common/nova/nova-api/config-external.sh
Swapnil Kulkarni 51b7915ae8 Updated directory structure to make it consistent
Closes-Bug: #1474774
Change-Id: Id61d777a8b741c800e0d034e3ee889c11bcf5fbc
2015-07-16 11:37:40 +00:00

11 lines
199 B
Bash
Executable File

#!/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