orange-cloudfoundry / orange-cf-bosh-cli

docker file for CF operations clients
12 stars 8 forks source link

Add option to use switch proxy #117

Closed gberche-orange closed 1 year ago

gberche-orange commented 1 year ago

Expected behavior

As a bosh cli user in order to use the switch proxy I need the proxy command to accept an option to use the proxy going to both intranet and internet

current behavior

$ proxy -h

USAGE:
  proxy [OPTIONS]

OPTIONS:
  --intranet, -a                           Set intranet proxy
  --internet, -e                           Set internet proxy

workaround

export https_proxy=http://switch-http-proxy.internal.paas:3127
export http_proxy=http://switch-http-proxy.internal.paas:3127
export HTTPS_PROXY=http://switch-http-proxy.internal.paas:3127
export HTTP_PROXY=http://switch-http-proxy.internal.paas:3127
ogrand commented 1 year ago

Done with new release