kolla/docker/common/horizon/config-external.sh
Vikas Jain 0128cf6ab6 Fix incorrect config-external in horizon
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
2015-08-03 10:25:15 -07:00

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