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.

This commit is contained in:
Robert Roland 2015-11-20 15:13:11 -08:00
parent f4d3f06067
commit 6698ac6dcc

View File

@ -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