Browse Source

Add SITE_PACKAGES variable to horizon extend_start

This change adds a missing export. Without this change the horizon
dashboards are all broken becuase the functions are able to
correctly copy the dashboards plugins to the appropriate locations.

Signed-off-by: Kevin Carter <kecarter@redhat.com>
Change-Id: I5fa3bb41403620e8bd9521e3c0e61570e202148f
changes/92/775892/1
Kevin Carter 8 months ago
parent
commit
8daeeef067
No known key found for this signature in database GPG Key ID: CE94BD890A47B20A
  1. 1
      container-images/kolla/horizon/extend_start.sh

1
container-images/kolla/horizon/extend_start.sh

@ -5,6 +5,7 @@ set -o errexit
FORCE_GENERATE="${FORCE_GENERATE}"
HASH_PATH=/var/lib/kolla/.settings.md5sum.txt
MANAGE_PY="/usr/bin/python3 /usr/bin/manage.py"
SITE_PACKAGES="/usr/lib/python${KOLLA_DISTRO_PYTHON_VERSION:-3}/site-packages"
if [[ -f /etc/openstack-dashboard/custom_local_settings ]]; then
CUSTOM_SETTINGS_FILE="${SITE_PACKAGES}/openstack_dashboard/local/custom_local_settings.py"

Loading…
Cancel
Save