Browse Source

Fixed pathing issue w/ horizon dashboard.

configure-hook
Pete Vander Giessen 3 years ago
parent
commit
8c1d0d3f78
  1. 2
      snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.d/_05_snap_tweaks.py
  2. 2
      snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py

2
snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.d/_05_snap_tweaks.py

@ -9,4 +9,4 @@ SECRET_KEY = "overridethis!"
# Django wants to write out compressed files even when we turn
# compression off (either a bug or something that I'm not
# understanding). Tell it to write them some place writeable.
STATIC_ROOT = '/var/snap/horizon/common/var/horizon/static'
STATIC_ROOT = '/var/snap/microstack/common/var/horizon/static'

2
snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py

@ -137,7 +137,7 @@ WEBROOT = '/'
#HORIZON_CONFIG["disable_password_reveal"] = False
#LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
LOCAL_PATH = '/var/snap/horizon/common/etc/horizon/'
LOCAL_PATH = '/var/snap/microstack/common/etc/horizon/'
# Set custom secret key:
# You can either set it to a specific value or you can let horizon generate a

Loading…
Cancel
Save