Workaround broken Horizon

Horizon is currently broken for all of TripleO. This is a temporary
workaround until the bug is fixed.

Change-Id: I68c0cf03bdd9ac615ddbb49d40675ae870a245f3
Partial-Bug: 1361235
This commit is contained in:
James Slagle 2014-08-25 16:41:23 -04:00
parent 8f28bbd708
commit 41c9a1dfad
1 changed files with 3 additions and 0 deletions

View File

@ -38,3 +38,6 @@ set -u
touch /etc/horizon/.secret_key_store
chmod 600 /etc/horizon/.secret_key_store
chown horizon:horizon /etc/horizon/.secret_key_store
# Workaround for https://bugs.launchpad.net/osprofiler/+bug/1361235
sed -i "s#'../..'#os.path.realpath('../..')#" "$HORIZON_VENV_DIR"/lib/python2.7/site-packages/openstack_dashboard/wsgi/django.wsgi