forked from double-z/chef-metal-ssh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
35 lines (31 loc) · 1.33 KB
/
Vagrantfile
File metadata and controls
35 lines (31 loc) · 1.33 KB
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
26
27
28
29
30
31
32
33
34
35
Vagrant.configure("2") do |c|
c.vm.define "master" do |master|
master.vm.box = "opscode-ubuntu-12.04"
master.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
master.vm.hostname = "master.vagrantup.com"
master.vm.network(:private_network, {:ip=>"192.168.33.27"})
master.vm.provider :virtualbox do |p|
p.customize ["modifyvm", :id, "--memory", "256"]
end
end
c.vm.define "target01" do |one|
one.vm.box = "opscode-ubuntu-12.04"
one.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
one.vm.hostname = "target01.vagrantup.com"
one.vm.synced_folder ".", "/vagrant", disabled: true
one.vm.network(:private_network, {:ip=>"192.168.33.21"})
one.vm.provider :virtualbox do |p|
p.customize ["modifyvm", :id, "--memory", "256"]
end
end
c.vm.define "target02" do |two|
two.vm.box = "opscode-ubuntu-12.04"
two.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
two.vm.hostname = "target02.vagrantup.com"
two.vm.synced_folder ".", "/vagrant", disabled: true
two.vm.network(:private_network, {:ip=>"192.168.33.22"})
two.vm.provider :virtualbox do |p|
p.customize ["modifyvm", :id, "--memory", "256"]
end
end
end