cement/Vagrantfile

37 lines
712 B
Ruby
Raw Normal View History

2017-02-04 23:03:49 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
2015-05-05 03:55:27 +00:00
2017-02-04 23:03:49 +00:00
targets = [
'centos-7',
'ubuntu-16.04',
'windows-server-2012-r2'
]
Vagrant.configure("2") do |config|
config.vm.synced_folder ".", "/vagrant", disabled: false
targets.each do |name|
config.vm.define name do |this|
this.vm.box = "addle/#{name}"
this.vm.hostname = name
end
2015-06-10 23:03:20 +00:00
end
2017-02-04 23:03:49 +00:00
config.vm.provider "virtualbox" do |v|
v.memory = "2048"
v.cpus = "2"
v.gui = true
2016-02-08 23:47:18 +00:00
end
2017-02-04 23:03:49 +00:00
config.vm.provider "vmware_desktop" do |v|
v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.gui = true
end
2017-02-04 23:03:49 +00:00
config.vm.provider "vmware_desktop" do |v|
v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.gui = true
2015-05-05 03:27:28 +00:00
end
end