94162bd08f
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
11 lines
220 B
Bash
11 lines
220 B
Bash
#!/bin/bash
|
|
SOURCE="/var/lib/kolla/magnum/magnum-api/magnum.conf"
|
|
TARGET="/etc/magnum/magnum.conf"
|
|
OWNER="magnum"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|