aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorliyingjun <yingjun.li@kylin-cloud.com>2017-02-24 17:35:30 +0800
committerliyingjun <yingjun.li@kylin-cloud.com>2017-02-24 17:43:24 +0800
commit455ae15f33b502c79e48ef6fba4b38c9fcaf4998 (patch)
treeec46fbd7a18fbd1bc6fe02b5e10e0aa8713ce668 /docker
parent4a15181f3faf4ff743fcf3109262a30f6a393968 (diff)
downloadkolla-455ae15f33b502c79e48ef6fba4b38c9fcaf4998.tar.gz
kolla-455ae15f33b502c79e48ef6fba4b38c9fcaf4998.zip
Remove useless command
/etc/openstack-dashboard/local_settings.py is deleted in the followup command, the sed is never used. Change-Id: Ife02321a4077544ae13428968c4bfe27eb7a7a48
Diffstat (limited to 'docker')
-rw-r--r--docker/horizon/Dockerfile.j22
1 files changed, 0 insertions, 2 deletions
diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2
index 86b1c4d58..77c819bf8 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 \