-
Notifications
You must be signed in to change notification settings - Fork 45
/
Vagrantfile
57 lines (43 loc) · 1.18 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
Vagrant.configure(2) do |config|
config.ssh.insert_key = false
# CentOS 6
config.vm.define "lab-1" do |node|
node.vm.box = "samdoran/centos6"
node.vm.hostname = "lab-1"
node.vm.network "private_network", ip: "10.77.1.31"
node.vm.provider :virtualbox do |vbox|
vbox.name = "lab-1"
vbox.memory = 256
vbox.cpus = 1
end
end
# CentOS 7
config.vm.define "lab-2" do |node|
node.vm.box = "samdoran/centos7"
node.vm.hostname = "lab-2"
node.vm.network "private_network", ip: "10.77.1.32"
node.vm.provider :virtualbox do |vbox|
vbox.name = "lab-2"
vbox.memory = 512
vbox.cpus = 1
end
end
# Debian7/Wheezy
config.vm.define "lab-3" do |node|
node.vm.box = "debian/wheezy64"
node.vm.hostname = "lab-3"
node.vm.network "private_network", ip: "10.77.1.38"
node.vm.provider :virtualbox do |vbox|
vbox.name = "lab-3"
end
end
# Debian8/Jesse
config.vm.define "lab-4" do |node|
node.vm.box = "debian/jessie64"
node.vm.hostname = 'lab-4'
node.vm.network "private_network", ip: "10.77.1.39"
node.vm.provider :virtualbox do |vbox|
vbox.name = "lab-4"
end
end
end