
In config-external 'OURCE' needs to be 'SOURCE' or the config file will never be copied. Change-Id: Idad2ff152a8662e5fbafbee6e0328ad7f610320d Closes-Bug: #1484253
10 lines
193 B
Bash
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
|