This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/vagrantSandbox/Vagrantfile
Bernhard F.W. Gschaider 91810a7c6d First version of a vagrant box for testing OF in a clean environment
--HG--
branch : bgschaid/feature/vagrantSandboxBranch
2013-09-04 14:49:25 +02:00

42 lines
1.1 KiB
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.synced_folder "..", "/OpenFOAM-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