Fix sed replacement command in Ubuntu's install_docker

The 's' command wasn't closed properly.

Change-Id: I4b6757a3e532a9507d47ab006afb91301e62f536
This commit is contained in:
Juan J. Martinez 2017-05-25 14:10:21 +01:00
parent 331632f879
commit 64fa91063f
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