4 Vagrant.configure("2") do |config|
5 config.vm.synced_folder "..", "/FOAM-sources"
7 config.vm.provider :virtualbox do |vb|
8 # # Don't boot with headless mode
11 # # Use VBoxManage to customize the VM. For example to change memory:
12 vb.customize ["modifyvm", :id, "--memory", "1024"]
16 config.vm.define :precise do |precise|
17 precise.vm.box = "hashicorp/precise64"
18 precise.vm.box_check_update = true
19 # precise.vm.box_url = "http://files.vagrantup.com/precise64.box"
20 precise.vm.provision :shell do |s|
22 s.path = "initUbunutuScript.sh"
26 config.vm.define :centos65 do |centos65|
27 centos65.vm.box = "chef/centos-6.5"
28 centos65.vm.box_check_update = true
29 # centos65.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.1/centos65-x86_64-20131205.box"
30 centos65.vm.provision :shell do |s|
32 s.path = "initCentOSRHELScript.sh"
37 config.vm.define :lucid do |lucid|
38 lucid.vm.box = "lucid64"
39 lucid.vm.box_url = "http://files.vagrantup.com/lucid64.box"
40 lucid.vm.provision :shell do |s|
42 s.path = "initUbunutuScript.sh"
47 config.vm.define :maverick do |maverick|
48 maverick.vm.box = "maverick64"
49 maverick.vm.box_url = "http://mathie-vagrant-boxes.s3.amazonaws.com/maverick64.box"
50 maverick.vm.provision :shell do |s|
52 s.path = "initUbunutuScript.sh"
57 config.vm.define :freebsd92 do |freebsd92|
58 freebsd92.vm.box = "chef/freebsd-9.2"
59 freebsd92.vm.box_check_update = true
60 # freebsd92.vm.box_url = "https://wunki.org/files/freebsd-9.2-amd64-wunki.box"
61 # freebsd92.vm.box_url = "http://iris.hosting.lv/freebsd-9.2-i386.box"
62 freebsd92.vm.provision :shell do |s|
64 s.path = "initFreeBSDScript.sh"
66 freebsd92.vm.synced_folder "..", "/FOAM-sources", type: "rsync", rsync__exclude: "vagrantSandbox/"
67 freebsd92.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: "ccache4vm/"
71 config.vm.define :freebsd10 do |freebsd10|
72 freebsd10.vm.box = "freebsd10"
73 # freebsd10.vm.box_url = "https://wunki.org/files/freebsd-10.0-amd64-wunki.box"
74 freebsd10.vm.box_url = "http://iris.hosting.lv/freebsd-10.0-i386.box"
75 freebsd10.vm.provision :shell do |s|
77 s.path = "initFreeBSDScript.sh"
79 freebsd10.vm.network :private_network, ip: "10.0.0.2"
82 freebsd10.vm.provider :virtualbox do |vb|
83 vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
84 vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
87 # use NFS for the synced folder
88 freebsd10.vm.synced_folder "..", "/FOAM-sources", :nfs => true
92 config.vm.define :opensuse12 do |opensuse12|
93 opensuse12.vm.box = "opensuse12"
94 opensuse12.vm.box_url = "http://sourceforge.net/projects/opensusevagrant/files/12.3/opensuse-12.3-64.box/download"
95 opensuse12.vm.provision :shell do |s|
97 s.path = "initOpenSUSEScript.sh"