Commit 22ab92bd authored by Harry Zhang's avatar Harry Zhang

Fix wrong case statement in master.sh

parent 7324cd68
...@@ -121,6 +121,7 @@ start_k8s(){ ...@@ -121,6 +121,7 @@ start_k8s(){
fi fi
ifconfig docker0 down ifconfig docker0 down
yum -y -q install bridge-utils && brctl delbr docker0 && systemctl restart docker yum -y -q install bridge-utils && brctl delbr docker0 && systemctl restart docker
;;
ubuntu|debian) ubuntu|debian)
DOCKER_CONF="/etc/default/docker" DOCKER_CONF="/etc/default/docker"
echo "DOCKER_OPTS=\"\$DOCKER_OPTS --mtu=${FLANNEL_MTU} --bip=${FLANNEL_SUBNET}\"" | sudo tee -a ${DOCKER_CONF} echo "DOCKER_OPTS=\"\$DOCKER_OPTS --mtu=${FLANNEL_MTU} --bip=${FLANNEL_SUBNET}\"" | sudo tee -a ${DOCKER_CONF}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment