Commit 6698ac6d authored by Robert Roland's avatar Robert Roland

Need to source the config-default.sh file before modifying the…

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.
parent f4d3f060
...@@ -46,7 +46,9 @@ function config_etcd { ...@@ -46,7 +46,9 @@ function config_etcd {
} }
function restart_docker { function restart_docker {
source ~/kube/config-default.sh
attempt=0 attempt=0
while [[ ! -f /run/flannel/subnet.env ]]; do while [[ ! -f /run/flannel/subnet.env ]]; do
if (( attempt > 200 )); then if (( attempt > 200 )); then
......
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