kolla/docker/common/magnum/magnum-conductor/config-external.sh
digambar e34b3b68fd Add config-internal/config-external to Magnum containers
Partially Implements: Blueprint standard-start
Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I88103eba45f520a2709129072bb90555feb5c6ba
2015-07-09 12:13:58 -04:00

11 lines
222 B
Bash

#!/bin/bash
SOURCE="/opt/kolla/magnum/magnum-conductor/magnum.conf"
TARGET="/etc/magnum/magnum.conf"
OWNER="magnum"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi