Skip to content

Instantly share code, notes, and snippets.

@tmatilai
Last active December 21, 2015 04:58
Show Gist options
  • Save tmatilai/6253077 to your computer and use it in GitHub Desktop.
Save tmatilai/6253077 to your computer and use it in GitHub Desktop.
Configuration specs for vagrant-proxyconf
Module Keys Env vars
All config.proxy.http
config.proxy.https
config.proxy.no_proxy
VAGRANT_HTTP_PROXY
VAGRANT_HTTPS_PROXY
VAGRANT_NO_PROXY
Env/shell config.env_proxy.http
config.env_proxy.https
config.env_proxy.no_proxy
VAGRANT_ENV_HTTP_PROXY
VAGRANT_ENV_HTTPS_PROXY
VAGRANT_ENV_NO_PROXY
Apt config.apt_proxy.http
config.apt_proxy.https
VAGRANT_APT_HTTP_PROXY
VAGRANT_APT_HTTPS_PROXY
Yum config.yum_proxy.http
config.yum_proxy.https
VAGRANT_YUM_HTTP_PROXY
VAGRANT_YUM_HTTPS_PROXY
@tmatilai
Copy link
Author

Should all environment variables be prefixed with VAGRANT_?

@tknerr
Copy link

tknerr commented Aug 16, 2013

Even though that it's a bit longer I'd prefer the 'VAGRANT_' prefix, a) for consistency and b) so that it is easily recognizable if you dump the env

@tmatilai
Copy link
Author

@tknerr: like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment