From 32b4d2ff525270ab512c786a41bfc730ca6a88e1 Mon Sep 17 00:00:00 2001 From: luyao Date: Wed, 10 Aug 2016 09:14:52 +0800 Subject: [PATCH] change /etc/systemd/system/docker.service.d/kolla.conf because the upgrade version of docker Change-Id: Id4f318b98f9ed4b3345229eb969915fe637bdf6d Signed-off-by: luyao --- backend/kolla/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/kolla/prepare.sh b/backend/kolla/prepare.sh index 944975c8..029583d6 100755 --- a/backend/kolla/prepare.sh +++ b/backend/kolla/prepare.sh @@ -7,7 +7,7 @@ mkdir -p /etc/systemd/system/docker.service.d config_path=/etc/systemd/system/docker.service.d/kolla.conf touch /etc/sysconfig/docker echo -e "other_args=\"--insecure-registry $daisy_management_ip:4000\"" > /etc/sysconfig/docker -echo -e "[Service]\nMountFlags=shared\nEnvironmentFile=/etc/sysconfig/docker\nExecStart=\nExecStart=/usr/bin/docker daemon -H fd:// \$other_args" > $config_path +echo -e "[Service]\nMountFlags=shared\nEnvironmentFile=/etc/sysconfig/docker\nExecStart=\nExecStart=/usr/bin/docker daemon \$other_args" > $config_path systemctl daemon-reload systemctl restart docker yum install -y python-docker-py