From 455ae15f33b502c79e48ef6fba4b38c9fcaf4998 Mon Sep 17 00:00:00 2001 From: liyingjun Date: Fri, 24 Feb 2017 17:35:30 +0800 Subject: [PATCH] Remove useless command /etc/openstack-dashboard/local_settings.py is deleted in the followup command, the sed is never used. Change-Id: Ife02321a4077544ae13428968c4bfe27eb7a7a48 --- docker/horizon/Dockerfile.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index 86b1c4d58a..77c819bf86 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -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 \