Fix the scripts to default empty string if EXTRA_DOCKER_OPTS isn't set.

This commit is contained in:
Brendan Burns
2015-06-12 21:47:30 -07:00
parent 51b20b35e2
commit 2c59a3c4a4
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ EOF
cat >>$file <<EOF
KUBERNETES_MASTER: "false"
ZONE: $(yaml-quote ${ZONE})
EXTRA_DOCKER_OPTS: $(yaml-quote ${EXTRA_DOCKER_OPTS})
EXTRA_DOCKER_OPTS: $(yaml-quote ${EXTRA_DOCKER_OPTS:-})
ENABLE_DOCKER_REGISTRY_CACHE: $(yaml-quote ${ENABLE_DOCKER_REGISTRY_CACHE:-false})
KUBELET_CERT: $(yaml-quote ${KUBELET_CERT_BASE64:-})
KUBELET_KEY: $(yaml-quote ${KUBELET_KEY_BASE64:-})