forked from mattock/openvpn-vagrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
111 lines (102 loc) · 3.45 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "centos-7" do |box|
box.vm.box = "centos/7"
box.vm.box_version = "1710.01"
box.vm.hostname = "centos-7.local"
box.vm.network "private_network", ip: "192.168.48.101"
box.vm.provision "shell", path: "centos-7.sh"
box.vm.provision "shell", path: "install-mbedtls.sh"
box.vm.provision "shell", path: "install-fping.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
end
end
config.vm.define "debian-9" do |box|
box.vm.box = "debian/stretch64"
box.vm.box_version = "9.2.0"
box.vm.hostname = "debian-9.local"
box.vm.network "private_network", ip: "192.168.48.102"
box.vm.provision "shell", path: "debian-9.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
end
end
config.vm.define "freebsd-11" do |box|
box.ssh.shell = "sh"
box.vm.box = "openvpn/FreeBSD-11.1p3"
box.vm.box_version = "1"
box.vm.hostname = "freebsd-11.local"
box.vm.network "private_network", ip: "192.168.48.103"
box.vm.synced_folder ".", "/vagrant", type: "rsync"
box.vm.provision "shell", path: "freebsd-11.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
vb.customize ["modifyvm", :id, "--usb", "on"]
vb.customize ["modifyvm", :id, "--usbehci", "off"]
end
end
config.vm.define "openbsd-6" do |box|
box.vm.box = "generic/openbsd6"
box.vm.box_version = "1.2.38"
box.vm.hostname = "openbsd-6.local"
box.vm.network "private_network", ip: "192.168.48.104"
box.vm.provision "shell", path: "openbsd-6.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
end
end
config.vm.define "solaris-113" do |box|
# we use a local box for licensing reasons, see recipes/Solaris113.txt
box.vm.box = "solaris113-v1.box"
#box.vm.box_version = "1"
box.vm.hostname = "solaris113.local"
box.vm.network "private_network", ip: "192.168.48.105"
box.vm.provision "shell", path: "solaris-113.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 1024
end
end
config.vm.define "ubuntu-1604" do |box|
box.vm.box = "ubuntu/xenial64"
box.vm.box_version = "20171118.0.0"
box.vm.hostname = "ubuntu-1604.local"
box.vm.network "private_network", ip: "192.168.48.106"
box.vm.provision "shell", path: "ubuntu-1604.sh"
box.vm.provision "shell", path: "install-mbedtls.sh"
box.vm.provision "shell", path: "install-fping.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
end
end
config.vm.define "openvpn-build" do |box|
box.vm.box = "ubuntu/xenial64"
box.vm.box_version = "20171118.0.0"
box.vm.hostname = "openvpn-build.local"
box.vm.network "private_network", ip: "192.168.48.107"
box.vm.provision "shell", path: "setup-generic-buildsystem.sh"
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
end
end
config.vm.define "netbsd-7" do |box|
box.vm.box = "netbsd/NetBSD-7.0"
box.vm.box_version = "1.0.0"
box.vm.hostname = "netbsd-7.local"
box.vm.network "private_network", ip: "192.168.48.108"
box.vm.provision "shell", path: "netbsd-7.sh"
box.vm.synced_folder ".", "/vagrant", disabled: true
box.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 768
end
end
end