rthallisey 76875c53da Cinder-backup is not being configured because config-external spelling error
In config-external 'OURCE' needs to be 'SOURCE' or the config file will never be copied.

Change-Id: Idad2ff152a8662e5fbafbee6e0328ad7f610320d
Closes-Bug: #1484253
2015-08-12 15:58:16 -04:00

10 lines
193 B
Bash

SOURCE="/opt/kolla/cinder/cinder.conf"
TARGET="/etc/cinder/cinder.conf"
OWNER="cinder"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi