From 6698ac6dcc217f2f6c590be321f478460f3488b9 Mon Sep 17 00:00:00 2001 From: Robert Roland Date: Fri, 20 Nov 2015 15:13:11 -0800 Subject: [PATCH] Need to source the config-default.sh file before modifying the /etc/default/docker file, otherwise the DOCKER_OPTS set there do not get applied to new minion nodes. --- cluster/ubuntu/reconfDocker.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster/ubuntu/reconfDocker.sh b/cluster/ubuntu/reconfDocker.sh index 42bfb7d05d0..d2544d49912 100755 --- a/cluster/ubuntu/reconfDocker.sh +++ b/cluster/ubuntu/reconfDocker.sh @@ -46,7 +46,9 @@ function config_etcd { } function restart_docker { - + + source ~/kube/config-default.sh + attempt=0 while [[ ! -f /run/flannel/subnet.env ]]; do if (( attempt > 200 )); then