Skip to content

Instantly share code, notes, and snippets.

@jeanfbrito
Last active November 9, 2015 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeanfbrito/26fecd7191b01d142f49 to your computer and use it in GitHub Desktop.
Save jeanfbrito/26fecd7191b01d142f49 to your computer and use it in GitHub Desktop.
Vagrantfile for Windows
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hellobits"
config.vm.box_url = "file:///d:/vagrant/hellobits-trusty64-virtualbox.box"
config.vm.network :forwarded_port, guest: 3000, host: 3000
end
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hellobits"
config.vm.box_url = "file:///d:/vagrant/hellobits-trusty64-virtualbox.box"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
config.vm.network :forwarded_port, guest: 3000, host: 3000
config.vm.network :forwarded_port, guest: 8181, host: 8181
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment