From ce04d426981fb6c7d1f99838ad316aa4a3343708 Mon Sep 17 00:00:00 2001 From: Ladislav Smola Date: Wed, 24 Sep 2014 19:29:00 +0200 Subject: [PATCH] Handle static files properly After isntalling tuskar-ui, we need to collect it's static files to Horizon. Change-Id: Ife184ae4b22bbe68e8337a45e01a56d61a891030 --- .../tuskar-ui/os-refresh-config/post-configure.d/101-tuskar-ui | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elements/tuskar-ui/os-refresh-config/post-configure.d/101-tuskar-ui b/elements/tuskar-ui/os-refresh-config/post-configure.d/101-tuskar-ui index 4ca24ab9b..4cdccf3a6 100755 --- a/elements/tuskar-ui/os-refresh-config/post-configure.d/101-tuskar-ui +++ b/elements/tuskar-ui/os-refresh-config/post-configure.d/101-tuskar-ui @@ -21,6 +21,9 @@ tuskar --tuskar-api-version 2 plan-patch -A controller-1::Image=$CONTROL_IMAGE_I echo "UNDERCLOUD_ADMIN_PASSWORD = \"${OS_PASSWORD}\"" >> $HORIZON_VENV_DIR/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py +DJANGO_SETTINGS_MODULE=openstack_dashboard.settings django-admin.py collectstatic --noinput +DJANGO_SETTINGS_MODULE=openstack_dashboard.settings django-admin.py compress --force + set +u deactivate set -u