aboutsummaryrefslogtreecommitdiff
path: root/docker/horizon/extend_start.sh
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2017-12-11 13:57:38 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2017-12-11 13:57:40 +0800
commit2ece1a513ae36dc4284e7d82f4e81f2137dde236 (patch)
tree32e70f0eaa12611471069f01250a6fd3b5cee754 /docker/horizon/extend_start.sh
parent2a150c8908228e962bad8445cc47f53516806dce (diff)
downloadkolla-2ece1a513ae36dc4284e7d82f4e81f2137dde236.tar.gz
kolla-2ece1a513ae36dc4284e7d82f4e81f2137dde236.zip
Add heat dashboard to horizon image
heat dashboard is split from horizon code base in Queens cycle.[0][1] [0] https://review.openstack.org/#/c/523402/ [1] https://github.com/openstack/heat-dashboard Closes-Bug: #1737475 Change-Id: I920394b8cb6eb7027df9110fe88de6842d2bd8b3
Diffstat (limited to 'docker/horizon/extend_start.sh')
-rw-r--r--docker/horizon/extend_start.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh
index ddde030a9..454e1fa49 100644
--- a/docker/horizon/extend_start.sh
+++ b/docker/horizon/extend_start.sh
@@ -72,6 +72,14 @@ function config_freezer_ui {
done
}
+function config_heat_dashboard {
+ for file in ${SITE_PACKAGES}/heat_dashboard/enabled/_*[^__].py; do
+ config_dashboard "${ENABLE_HEAT}" \
+ "${SITE_PACKAGES}/heat_dashboard/enabled/${file##*/}" \
+ "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
+ done
+}
+
function config_ironic_dashboard {
for file in ${SITE_PACKAGES}/ironic_ui/enabled/_*[^__].py; do
config_dashboard "${ENABLE_IRONIC}" \
@@ -223,6 +231,7 @@ config_cloudkitty_dashboard
config_designate_dashboard
config_fwaas_dashboard
config_freezer_ui
+config_heat_dashboard
config_ironic_dashboard
config_karbor_dashboard
config_magnum_dashboard