Fix the horizon failed to start

Currently, Horzion container fails to start when enabled designate,
murano, magnum and so on. This patch is to fix it.

Change-Id: I32da6dc1a65d3bfcaa59b4c9136e389af1f9b551
Closes-Bug: #1744428
(cherry picked from commit 8ab4260418)
This commit is contained in:
chenxing 2018-05-28 22:02:12 +08:00 committed by Mark Goddard
parent 68792e81f2
commit bc78ac7664

View File

@ -78,6 +78,7 @@ RUN echo > /etc/apache2/ports.conf \
&& rm /etc/apache2/conf-enabled/openstack-dashboard.conf \
&& rm /etc/openstack-dashboard/local_settings.py \
&& rm /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py \
&& rm -rf /usr/lib/python2.7/site-packages/openstack_dashboard \
&& ln -s /etc/openstack-dashboard/local_settings /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py \
&& ln -s /usr/share/openstack-dashboard/openstack_dashboard /usr/lib/python2.7/site-packages/openstack_dashboard \
&& ln -s /usr/share/openstack-dashboard/static /usr/lib/python2.7/site-packages/static \