mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
fix the appending bug
This commit is contained in:
parent
8b78066918
commit
cee76a6f7d
@ -59,7 +59,7 @@ function restart_docker {
|
|||||||
|
|
||||||
source /run/flannel/subnet.env
|
source /run/flannel/subnet.env
|
||||||
source /etc/default/docker
|
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
|
--bip=${FLANNEL_SUBNET} --mtu=${FLANNEL_MTU}\" > /etc/default/docker
|
||||||
sudo service docker restart
|
sudo service docker restart
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user