-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
59 lines (51 loc) · 2.03 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# https://github.com/hashicorp/vagrant/issues/9442#issuecomment-363080565
# Uncomment below if you need the work around.
# Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com')
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.define "ubuntu1" do |ubuntu1|
ubuntu1.vm.box = "ubuntu/xenial64"
ubuntu1.vm.hostname = "ubuntu1"
ubuntu1.vm.network "private_network", ip: "192.168.33.110"
end
config.vm.define "ubuntu2" do |ubuntu2|
ubuntu2.vm.box = "ubuntu/xenial64"
ubuntu2.vm.hostname = "ubuntu2"
ubuntu2.vm.network "private_network", ip: "192.168.33.120"
end
config.vm.define "ubuntu3" do |ubuntu3|
ubuntu3.vm.box = "ubuntu/bionic64"
ubuntu3.vm.hostname = "ubuntu3"
ubuntu3.vm.network "private_network", ip: "192.168.33.130"
end
config.vm.define "ubuntu4" do |ubuntu4|
ubuntu4.vm.box = "ubuntu/bionic64"
ubuntu4.vm.hostname = "ubuntu4"
ubuntu4.vm.network "private_network", ip: "192.168.33.140"
end
config.vm.define "freebsd5" do |freebsd5|
freebsd5.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
freebsd5.vm.box_version = "2017.07.21"
freebsd5.vm.hostname = "freebsd5"
freebsd5.vm.network "private_network", ip: "192.168.33.150"
freebsd5.ssh.shell = "sh"
freebsd5.vm.base_mac = "080027D14C55"
freebsd5.vm.synced_folder ".", "/vagrant", type: "rsync"
freebsd5.vm.boot_timeout = 600
end
config.vm.define "freebsd6" do |freebsd6|
freebsd6.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
freebsd6.vm.box_version = "2017.07.21"
freebsd6.vm.hostname = "freebsd6"
freebsd6.vm.network "private_network", ip: "192.168.33.160"
freebsd6.ssh.shell = "sh"
freebsd6.vm.base_mac = "080027D14C66"
freebsd6.vm.synced_folder ".", "/vagrant", type: "rsync"
freebsd6.vm.boot_timeout = 600
end
end