2014-09-08 07:54:18 +00:00
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
|
2014-09-17 08:22:14 +00:00
|
|
|
config.vm.provider "virtualbox" do |v|
|
2014-09-23 23:58:32 +00:00
|
|
|
v.memory = 4096
|
2014-09-23 07:28:34 +00:00
|
|
|
v.cpus = 2
|
2014-09-17 08:22:14 +00:00
|
|
|
end
|
|
|
|
|
2014-09-23 07:28:34 +00:00
|
|
|
config.vm.define "ubuntu14" do |box|
|
2014-09-08 20:40:26 +00:00
|
|
|
box.vm.box = "ubuntu/trusty64"
|
2014-09-08 07:54:18 +00:00
|
|
|
end
|
|
|
|
|
2014-09-23 07:28:34 +00:00
|
|
|
config.vm.define "ubuntu12" do |box|
|
|
|
|
box.vm.box = "ubuntu/precise64"
|
|
|
|
end
|
|
|
|
|
2014-09-09 03:07:11 +00:00
|
|
|
config.vm.define "centos" do |box|
|
|
|
|
box.vm.box = "chef/centos-6.5"
|
|
|
|
end
|
|
|
|
|
2014-11-19 09:54:24 +00:00
|
|
|
config.vm.define "freebsd10" do |box|
|
2014-11-19 07:35:40 +00:00
|
|
|
box.vm.box = "chef/freebsd-10.0"
|
|
|
|
|
|
|
|
# Private network for NFS
|
|
|
|
box.vm.network :private_network, ip: "192.168.56.101"
|
|
|
|
|
|
|
|
# configure the NICs
|
|
|
|
box.vm.provider :virtualbox do |vb|
|
|
|
|
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
|
|
|
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
|
|
|
|
end
|
|
|
|
|
|
|
|
box.vm.synced_folder ".", "/vagrant", type: "nfs"
|
2014-11-19 09:54:24 +00:00
|
|
|
|
|
|
|
box.vm.provision "shell",
|
|
|
|
inline: "pkg install -y gmake"
|
2014-11-19 07:35:40 +00:00
|
|
|
end
|
|
|
|
|
2014-09-08 07:54:18 +00:00
|
|
|
end
|