diff options
| author | caoyuan <cao.yuan@99cloud.net> | 2017-03-31 09:21:53 +0800 |
|---|---|---|
| committer | caoyuan <cao.yuan@99cloud.net> | 2017-07-04 03:28:18 +0000 |
| commit | 940e93f7c657e8a7cf1652e71ee3dbf62d82b1e4 (patch) | |
| tree | 09e0cf1fbefdcc4f5a75903d04194d883b31705d | |
| parent | 98e4a4bf56efb254645b15a9bcd06ab3075480c6 (diff) | |
| download | kolla-940e93f7c657e8a7cf1652e71ee3dbf62d82b1e4.tar.gz kolla-940e93f7c657e8a7cf1652e71ee3dbf62d82b1e4.zip | |
Install zun ui into horizon image
Change-Id: Ie0e02253bd706cad6a568e1574aa4c4bd83744e5
Closes-Bug: #1677922
| -rw-r--r-- | docker/horizon/extend_start.sh | 9 | ||||
| -rwxr-xr-x | kolla/common/config.py | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 302560f3b..9807ce7fc 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -198,6 +198,14 @@ function config_zaqar_dashboard { done } +function config_zun_dashboard { + for file in ${SITE_PACKAGES}/zun_ui/enabled/_*[^__].py; do + config_dashboard "${ENABLE_ZUN}" \ + "${SITE_PACKAGES}/zun_ui/enabled/${file##*/}" \ + "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}" + done +} + config_cloudkitty_dashboard config_designate_dashboard config_freezer_ui @@ -216,6 +224,7 @@ config_tacker_dashboard config_trove_dashboard config_watcher_dashboard config_zaqar_dashboard +config_zun_dashboard # NOTE(pbourke): httpd will not clean up after itself in some cases which # results in the container not being able to restart. (bug #1489676, 1557036) diff --git a/kolla/common/config.py b/kolla/common/config.py index 2db6f5e7d..4a45b7887 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -416,6 +416,10 @@ SOURCES = { 'type': 'url', 'location': ('$tarballs_base/zaqar-ui/' 'zaqar-ui-master.tar.gz')}, + 'horizon-plugin-zun-ui': { + 'type': 'url', + 'location': ('$tarballs_base/zun-ui/' + 'zun-ui-master.tar.gz')}, 'ironic-base': { 'type': 'url', 'location': ('$tarballs_base/ironic/' |
