From 1bfd984e70e9b773d2edf92b4cd0d09fa4809f2f Mon Sep 17 00:00:00 2001 From: Angie Wang Date: Wed, 19 Dec 2018 09:20:06 -0600 Subject: [PATCH] Update stx-horizon to include starlingx-dashboard themes Update the stx-horizon image build directives file to include starlingx-dashboard module in the image, and to add a customization hook to copy the themes to a common location. Change-Id: I1684eebc31e977ee02c95d8ba7ec6cd11f3244cb Story: 2004520 Task: 28588 Signed-off-by: Don Penney --- .../python-horizon/centos/stx-horizon.pike_docker_image | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openstack/python-horizon/centos/stx-horizon.pike_docker_image b/openstack/python-horizon/centos/stx-horizon.pike_docker_image index d930561f..7f469c1f 100644 --- a/openstack/python-horizon/centos/stx-horizon.pike_docker_image +++ b/openstack/python-horizon/centos/stx-horizon.pike_docker_image @@ -5,10 +5,11 @@ PROJECT_REPO=https://github.com/starlingx-staging/stx-horizon.git PIP_PACKAGES="pycrypto python-ceilometerclient python-cephclient \ sm_client cgtsclient cgcs_patch sysinv nfv_client \ tsconfig coverage pyudev fm_api fm_core configutilities platform_util \ - controllerconfig ldap distributedcloud_client pylint" + controllerconfig ldap distributedcloud_client starlingx-dashboard pylint" PROFILES="fluent horizon apache" CUSTOMIZATION="\ ln -s /bin/true /usr/bin/a2enmod && \ - sed -i 's/Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf \ + sed -i 's/Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf && \ + cp -r /var/lib/openstack/lib/python2.7/site-packages/starlingx_dashboard/themes/starlingx/ /var/lib/openstack/lib/python2.7/site-packages/openstack_dashboard/themes/starlingx/ \ "