diff --git a/hack/lib/init.sh b/hack/lib/init.sh index 6c601b5662b..738b7aa98d7 100755 --- a/hack/lib/init.sh +++ b/hack/lib/init.sh @@ -41,7 +41,7 @@ KUBE_RSYNC_COMPRESS="${KUBE_RSYNC_COMPRESS:-0}" # 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 +export no_proxy="127.0.0.1,localhost${no_proxy:+,${no_proxy}}" # This is a symlink to binaries for "this platform", e.g. build tools. export THIS_PLATFORM_BIN="${KUBE_ROOT}/_output/bin"