Merge "Fix sed replacement command in Ubuntu's install_docker"

This commit is contained in:
Jenkins 2017-05-26 17:17:10 +00:00 committed by Gerrit Code Review
commit 7a9160f3f3
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ EOF
echo "deb https://apt.dockerproject.org/repo ubuntu-wily main" > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get -y install docker-engine
sed -i -r "s,(ExecStart)=(.+),\1=/usr/bin/docker daemon --insecure-registry ${REGISTRY} --registry-mirror=http://${REGISTRY}|" /lib/systemd/system/docker.service
sed -i -r "s|(ExecStart)=(.+)|\1=/usr/bin/docker daemon --insecure-registry ${REGISTRY} --registry-mirror=http://${REGISTRY}|" /lib/systemd/system/docker.service
else
echo "Unsupported Distro: $DISTRO" 1>&2
exit 1