Vagrant

How to use vagrant in a proxy enviroment?

$ vagrant plugin install vagrant-proxyconf
$ vim   ~/.vagrant.d/Vagrantfile
    Vagrant.configure("2") do |config|
      if Vagrant.has_plugin?("vagrant-proxyconf")
        config.proxy.http     = "http:///192.168.1.234:8080/"
        config.proxy.https    = "http://192.168.1.234:8080/"
        config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
      end
      # ... other stuff
    end

https://github.com/tmatilai/vagrant-proxyconf

http://stackoverflow.com/questions/19872591/how-to-use-vagrant-in-a-proxy-enviroment

Disable or remove the proxy

$ VAGRANT_HTTP_PROXY="" VAGRANT_HTTPS_PROXY="" vagrant up --no-provision
$ vagrant ssh
$ curl 'https://api.ipify.org?format=json'

Install ubuntu

$ vagrant init ubuntu/trusty64
$ vagrant init ubuntu/xenial64
$ vagrant up --provider virtualbox
$ vagrant ssh

CPU and Memory

https://www.vagrantup.com/docs/virtualbox/configuration.html

config.vm.provider "virtualbox" do |v|
  v.memory = 1024
  v.cpus = 2
end

Update plugin

Plugin Update

vagrant plugin update [<name>]