-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
25 lines (22 loc) · 831 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
VAGRANTFILE_API_VERSION = "2"
nodes = [
{ hostname: 'esxi-670', box: 'vmware/esxi', version: '6.7.0-8169922'},
{ hostname: 'esxi-650', box: 'vmware/esxi', version: '6.5.0-8294253'},
{ hostname: 'photon-2', box: 'vmware/photon', version: '2.0.0'},
{ hostname: 'rhel-7', box: 'generic/rhel7', version: '1.8.60'}
]
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
nodes.each do |node|
config.vm.define node[:hostname] do |node_config|
node_config.vm.hostname = node[:hostname]
node_config.vm.box = node[:box]
node_config.vm.box_version = node[:version]
end
end
config.vm.provider :vmware_desktop do |domain|
domain.gui = true
domain.vmx["ethernet0.pcislotnumber"] = "160"
domain.vmx["memsize"] = "4096"
domain.vmx["numvcpus"] = "2"
end
end