e34b3b68fd
Partially Implements: Blueprint standard-start Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net> Change-Id: I88103eba45f520a2709129072bb90555feb5c6ba
11 lines
222 B
Bash
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
|