From 07eb9ec3051bdc7ca639550ca5dc268015cd8a1c Mon Sep 17 00:00:00 2001 From: George Tankersley Date: Thu, 14 Apr 2016 12:08:21 -0700 Subject: [PATCH] hack: specify advertise address for local-up-cluster.sh This fixes the bug where the script fails to launch an apiserver on a machine without active networking. --- hack/local-up-cluster.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 71735181e83..b6aad6a2d8d 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -266,6 +266,7 @@ function start_apiserver { --admission-control="${ADMISSION_CONTROL}" \ --insecure-bind-address="${API_HOST}" \ --insecure-port="${API_PORT}" \ + --advertise-address="${API_HOST}" \ --etcd-servers="http://127.0.0.1:4001" \ --service-cluster-ip-range="10.0.0.0/24" \ --cors-allowed-origins="${API_CORS_ALLOWED_ORIGINS}" >"${APISERVER_LOG}" 2>&1 &