51e20db747
Change-Id: I33cf4afbb532c6268bdc2017211ea78733a42fd7 Partially-implements: blueprint remove-config-internal
11 lines
202 B
Bash
11 lines
202 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/heat-engine/heat.conf"
|
|
TARGET="/etc/heat/heat.conf"
|
|
OWNER="heat"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|