VAGRANTFILE_API_VERSION = "2"Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|config.vm.hostname = "poorthing"config.vm.synced_folder ".", "/localhost", type:"nfs", :mount_options => ['nolock,vers=3,udp,noatime']config.vm.network "forwarded_port", guest: 80, host: 8080config.vm.network "forwarded_port", guest: 15672, host: 15672# Required for NFS to work, pick any local IPconfig.vm.network "private_network", type: "dhcp"end
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/13f3833c-5c5d-49ff-b1b4-784aa0b6b681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
vb.customize ["modifyvm", :id, "--nictype2", "Am79C973"]
end
2 is for the 2nd nic, the first one after the nat ..
Types of nic:
[--nictype<1-N>Am79C970A|Am79C973|82540EM|82543GC|82545EM|virtio]
You can also test hw assisted virtualization:
[--paravirtprovider none|default|legacy|minimal|hyperv|kvm]
none is what is used today, but kvm should do the trick in new linux kernel
vb.customize ["modifyvm", :id, "--paravirtprovider", "kvm"]
Alvaro.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/71f5b3e9-11b3-497a-ae16-a4e75f4fce49%40googlegroups.com.