kolla-ansible/docker/common/cinder-app/cinder-scheduler/config-external.sh
Swapnil Kulkarni a5a469c102 Add config-internal/config-external for cinder
Partially Implements: Blueprint standard-start

Change-Id: I9fa5cc8f6f57b46f8af165778388435b91c28447
2015-07-08 13:31:50 +00:00

11 lines
205 B
Bash

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