Skip to content

Instantly share code, notes, and snippets.

@daniel-garcia
Created May 23, 2016 19:00
Show Gist options
  • Save daniel-garcia/c666eea91bc50a4daa64329943772cb0 to your computer and use it in GitHub Desktop.
Save daniel-garcia/c666eea91bc50a4daa64329943772cb0 to your computer and use it in GitHub Desktop.
vagrant plugin install vagrant-proxyconf
mkdir -p ~/.vagrant.d
cat <<EOF > ~/.vagrant.d/Vagrantfile
Vagrant.configure("2") do |config|
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://www-proxy.us.oracle.com:80/"
config.proxy.https = "http://www-proxy.us.oracle.com:80/"
config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
end
# ... other stuff
end
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment