Remove useless command

/etc/openstack-dashboard/local_settings.py is deleted in the followup
command, the sed is never used.

Change-Id: Ife02321a4077544ae13428968c4bfe27eb7a7a48
This commit is contained in:
liyingjun 2017-02-24 17:35:30 +08:00
parent 4a15181f3f
commit 455ae15f33
1 changed files with 0 additions and 2 deletions

View File

@ -60,8 +60,6 @@ RUN echo > /etc/apache2/ports.conf \
&& ln -s ../mods-available/headers.load /etc/apache2/mods-enabled/headers.load \
&& ln -s ../mods-available/expires.load /etc/apache2/mods-enabled/expires.load \
&& cp /usr/share/openstack-dashboard/openstack_dashboard/conf/*.json /etc/openstack-dashboard \
&& sed -i "s|WEBROOT='/horizon/'|WEBROOT = '/'|" /etc/openstack-dashboard/local_settings.py \
&& sed -i "s|^POLICY_FILES_PATH|POLICY_FILES_PATH = '/etc/openstack-dashboard'|" /etc/openstack-dashboard/local_settings.py \
&& cp /usr/share/openstack-dashboard/manage.py /usr/bin/manage.py \
&& rm /etc/apache2/conf-enabled/openstack-dashboard.conf \
&& rm /etc/openstack-dashboard/local_settings.py \