File suse-fix-webroot-paths.diff of Package openstack-dashboard
Just put all in one below openstack_dashboard, really
Index: openstack_dashboard/settings.py
===================================================================
--- openstack_dashboard/settings.py.orig
+++ openstack_dashboard/settings.py
@@ -48,9 +48,9 @@ LOGOUT_URL = '/auth/logout/'
# Do not set it to '/home/', as this will cause circular redirect loop
LOGIN_REDIRECT_URL = '/'
-MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'media'))
+MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, 'media'))
MEDIA_URL = '/media/'
-STATIC_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'static'))
+STATIC_ROOT = os.path.abspath(os.path.join(ROOT_PATH, 'static'))
STATIC_URL = '/static/'
ROOT_URLCONF = 'openstack_dashboard.urls'