diff --git a/hack/lib/init.sh b/hack/lib/init.sh index ab58694c531..3464a96330d 100644 --- a/hack/lib/init.sh +++ b/hack/lib/init.sh @@ -25,6 +25,8 @@ KUBE_OUTPUT_SUBPATH="${KUBE_OUTPUT_SUBPATH:-_output/local}" KUBE_OUTPUT="${KUBE_ROOT}/${KUBE_OUTPUT_SUBPATH}" KUBE_OUTPUT_BINPATH="${KUBE_OUTPUT}/bin" +# Set no_proxy for localhost if behind a proxy, otherwise, +# the connections to localhost in scripts will time out export no_proxy=127.0.0.1,localhost source "${KUBE_ROOT}/hack/lib/util.sh"