338173c01e
--HG-- rename : vagrantSandbox/initUbunutuScript.sh => vagrantSandbox/initCentOSRHELScript.sh
51 lines
1.5 KiB
Ruby
51 lines
1.5 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
|
|
|
|
config.vm.define :centos65 do |centos65|
|
|
centos65.vm.box = "centos65"
|
|
centos65.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.1/centos65-x86_64-20131205.box"
|
|
centos65.vm.provision :shell do |s|
|
|
s.args = "centos65"
|
|
s.path = "initCentOSRHELScript.sh"
|
|
end
|
|
end
|
|
|
|
end
|