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
(cherry picked from commit 8daeeef067)
This commit is contained in:
Kevin Carter 2021-02-16 13:04:00 -06:00 committed by Kevin Carter
parent 36ad9a1a1d
commit c24347cbbf
1 changed files with 1 additions and 0 deletions

View File

@ -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"