Add no_proxy to docker base command

Add no_proxy environment variable for proper operation
behind a proxy.

Change-Id: Ide9e5afed075bc19683b5180ae7e95a17b218cc1
This commit is contained in:
Crank, Daniel (dc6350) 2018-08-01 10:52:24 -05:00
parent ed0d96cafd
commit fc1bd529c0

View File

@ -27,6 +27,7 @@ base_docker_command=$(cat << EndOfCommand
sudo docker run -t --rm --net=host sudo docker run -t --rm --net=host
-e http_proxy=${HTTP_PROXY} -e http_proxy=${HTTP_PROXY}
-e https_proxy=${HTTPS_PROXY} -e https_proxy=${HTTPS_PROXY}
-e no_proxy=${NO_PROXY}
-e OS_AUTH_URL=${OS_AUTH_URL:-http://keystone.${NAMESPACE}.svc.cluster.local:80/v3} -e OS_AUTH_URL=${OS_AUTH_URL:-http://keystone.${NAMESPACE}.svc.cluster.local:80/v3}
-e OS_USERNAME=${OS_USERNAME:-admin} -e OS_USERNAME=${OS_USERNAME:-admin}
-e OS_USER_DOMAIN_NAME=${OS_USER_DOMAIN_NAME:-default} -e OS_USER_DOMAIN_NAME=${OS_USER_DOMAIN_NAME:-default}