-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
97 lines (75 loc) · 2.21 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Vagrant::Config.run do |config|
config.vm.define :bm do |bm|
bm.vm.customize do |vm|
vm.memory_size = 512
end
# bm.vm.boot_mode = :gui
bm.vm.box = "lucid32"
bm.vm.box_url = "http://files.vagrantup.com/lucid32.box"
bm.vm.forward_port "ssh", 22, 2226, :auto => true
# bm.vm.forward_port "buildbot pb", 9989, 9989
# bm.vm.forward_port "buildbot web", 8010, 8010
bm.vm.share_folder("v-root", "/vagrant", ".", :nfs => false)
bm.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.roles_path = "roles"
chef.add_role "buildmaster"
chef.log_level = :debug
end
bm.vm.network "10.0.0.2"
end
config.vm.define :u32 do |u32|
u32.vm.customize do |vm|
vm.memory_size = 4096
vm.cpu_count = 3
end
# u32.vm.boot_mode = :gui
u32.vm.box = "lucid32"
u32.vm.box_url = "http://files.vagrantup.com/lucid32.box"
u32.vm.forward_port "ssh", 22, 2229, :auto => true
u32.vm.share_folder("v-root", "/vagrant", ".", :nfs => false)
u32.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.roles_path = "roles"
chef.add_role "buildslave"
chef.log_level = :debug
end
u32.vm.network "10.0.0.3"
end
config.vm.define :u64 do |u64|
u64.vm.customize do |vm|
vm.memory_size = 4096
vm.cpu_count = 3
end
# u64.vm.boot_mode = :gui
u64.vm.box = "lucid64"
u64.vm.box_url = "http://files.vagrantup.com/lucid64.box"
u64.vm.forward_port "ssh", 22, 2210, :auto => true
u64.vm.share_folder("v-root", "/vagrant", ".", :nfs => false)
u64.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.roles_path = "roles"
chef.add_role "buildslave"
chef.log_level = :debug
end
u64.vm.network "10.0.0.4"
end
# config.vm.define :mac do |mac|
#
# mac.vm.customize do |vm|
# vm.memory_size = 2048
# end
#
## mac.vm.boot_mode = :gui
#
# mac.vm.box = "macosx-snowleopard"
#
# mac.vm.forward_port "ssh", 22, 2211, :auto => true
# mac.vm.provision :shell, :path => "macosx-setup.sh"
#
# mac.ssh.private_key_path = "~/.ssh/id_overtone"
#
# mac.vm.network "10.0.0.4"
#
# end
end