Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (15 loc) · 485 Bytes

README.proxy.md

File metadata and controls

19 lines (15 loc) · 485 Bytes

How to use vagrant with a proxy

  • Install proxyconf plugin:
 vagrant plugin install vagrant-proxyconf
  • And then add the following to Vagrantfile:
Vagrant.configure("2") do |config|
  if Vagrant.has_plugin?("vagrant-proxyconf")
    config.proxy.http     = "http://username:password@proxy_host:proxy_port"
    config.proxy.https    = "http://username:password@proxy_host:proxy_port"
    config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
  end
end