Files
kolla-ansible/docker/common/cinder/cinder-volume/config-external.sh
Steven Dake 8ae3b0d67e Rename cinder-app to cinder to be more consistent
Closes-Bug: #1482986
Change-Id: I72619ef18d24038b46d09e77887d6610ef6e8327
2015-08-12 12:04:58 -07:00

11 lines
205 B
Bash
Executable File

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