Browse Source

Fixed pathing issue w/ horizon dashboard.

configure-hook
Pete Vander Giessen 2 years ago
parent
commit
8c1d0d3f78
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.d/_05_snap_tweaks.py
  2. +1
    -1
      snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py

+ 1
- 1
snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.d/_05_snap_tweaks.py View File

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

+ 1
- 1
snap-overlay/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py View File

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