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.
This commit is contained in:
George Tankersley
2016-04-14 12:08:21 -07:00
parent 490c68dbe3
commit 07eb9ec305

View File

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