diff --git a/build/run-images/apiserver/run.sh b/build/run-images/apiserver/run.sh index 3cc667acbcc..78824f8d848 100755 --- a/build/run-images/apiserver/run.sh +++ b/build/run-images/apiserver/run.sh @@ -16,6 +16,6 @@ # If the user doesn't specify a minion, assume we are running in a single node # configuration and that we have a local minion. -KUBE_MINIONS=${KUBE_MINIONS:$(hostname -f)} +KUBE_MINIONS="${KUBE_MINIONS:-$(hostname -f)}" ./apiserver -address=0.0.0.0 -etcd_servers="${ETCD_SERVERS}" --machines="${KUBE_MINIONS}"