fix the appending bug

This commit is contained in:
Jingtian Peng 2016-09-21 16:36:08 +08:00 committed by GitHub
parent 8b78066918
commit cee76a6f7d

View File

@ -59,7 +59,7 @@ function restart_docker {
source /run/flannel/subnet.env
source /etc/default/docker
echo DOCKER_OPTS=\"${DOCKER_OPTS} -H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock \
echo DOCKER_OPTS=\" -H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock \
--bip=${FLANNEL_SUBNET} --mtu=${FLANNEL_MTU}\" > /etc/default/docker
sudo service docker restart
}