d073895315
--HG-- branch : bgschaid/foam3FixesBranch
42 lines
1.1 KiB
Ruby
42 lines
1.1 KiB
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.synced_folder "..", "/FOAM-sources"
|
|
|
|
config.vm.provider :virtualbox do |vb|
|
|
# # Don't boot with headless mode
|
|
# vb.gui = true
|
|
#
|
|
# # Use VBoxManage to customize the VM. For example to change memory:
|
|
vb.customize ["modifyvm", :id, "--memory", "1024"]
|
|
end
|
|
|
|
config.vm.define :lucid do |lucid|
|
|
lucid.vm.box = "lucid64"
|
|
lucid.vm.box_url = "http://files.vagrantup.com/lucid64.box"
|
|
lucid.vm.provision :shell do |s|
|
|
s.args = "lucid"
|
|
s.path = "initUbunutuScript.sh"
|
|
end
|
|
end
|
|
|
|
config.vm.define :maverick do |maverick|
|
|
maverick.vm.box = "maverick64"
|
|
maverick.vm.box_url = "http://mathie-vagrant-boxes.s3.amazonaws.com/maverick64.box"
|
|
maverick.vm.provision :shell do |s|
|
|
s.args = "lucid"
|
|
s.path = "initUbunutuScript.sh"
|
|
end
|
|
end
|
|
|
|
config.vm.define :precise do |precise|
|
|
precise.vm.box = "precise64"
|
|
precise.vm.box_url = "http://files.vagrantup.com/precise64.box"
|
|
precise.vm.provision :shell do |s|
|
|
s.args = "precise"
|
|
s.path = "initUbunutuScript.sh"
|
|
end
|
|
end
|
|
|
|
end
|