0128cf6ab6
Horizon config-external.sh script has the same source and target. Corrected the code to operate like Nova does. Closes-bug: #1478451 Change-Id: I80be730d41e126b8a43c24c5eb87dfe68ffddb48
11 lines
226 B
Bash
11 lines
226 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/horizon/local_settings"
|
|
TARGET="/etc/openstack-dashboard/local_settings"
|
|
OWNER="horizon"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|