Browse Source

Merge "Fix site-packages in horizon's extend_start.sh" into stable/victoria

changes/93/794693/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
6ab72b11e0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      container-images/kolla/horizon/extend_start.sh

+ 2
- 1
container-images/kolla/horizon/extend_start.sh View File

@ -5,7 +5,8 @@ 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"
PYTHON_VERSION=$(python3 --version | awk '{print $2}' | awk -F'.' '{print $1"."$2}')
SITE_PACKAGES="/usr/lib/python${PYTHON_VERSION}/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