-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathVagrantfile
82 lines (72 loc) · 2.23 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox" do |vb|
vb.cpus = 8
vb.customize ["modifyvm", :id, "--audio", "none"]
vb.customize ["modifyvm", :id, "--clipboard-mode", "disabled"]
vb.customize ["modifyvm", :id, "--draganddrop", "disabled"]
vb.customize ["modifyvm", :id, "--recording", "off"]
vb.customize ["modifyvm", :id, "--usbcardreader", "off"]
vb.gui = false
vb.memory = 4096
end
config.vm.define "openbsd" do |box|
box.vm.box = "generic/openbsd7"
box.vm.provision "shell" do |s|
s.path = "openbsd.sh"
s.name = "Provision"
s.args = ["provision"]
end
box.vm.provision "shell", run: "always" do |s|
s.path = "openbsd.sh"
s.name = "Setup"
s.args = ENV['PR'] ? ["setup", ENV['PR']] : ["setup"]
end
end
config.vm.define "freebsd12" do |box|
box.vm.box = "freebsd/FreeBSD-12.2-STABLE"
box.ssh.shell = "sh"
box.vm.synced_folder ".", "/vagrant", disabled: true
box.vm.provision "shell" do |s|
s.path = "freebsd.sh"
s.name = "Provision"
s.args = ["provision"]
end
box.vm.provision "shell", run: "always" do |s|
s.path = "freebsd.sh"
s.name = "Setup"
s.args = ENV['PR'] ? ["setup", ENV['PR']] : ["setup"]
end
end
config.vm.define "freebsd13" do |box|
box.vm.box = "freebsd/FreeBSD-13.0-STABLE"
box.ssh.shell = "sh"
box.vm.synced_folder ".", "/vagrant", disabled: true
box.vm.provision "shell" do |s|
s.path = "freebsd.sh"
s.name = "Provision"
s.args = ["provision"]
end
box.vm.provision "shell", run: "always" do |s|
s.path = "freebsd.sh"
s.name = "Setup"
s.args = ENV['PR'] ? ["setup", ENV['PR']] : ["setup"]
end
end
config.vm.define "netbsd" do |box|
box.vm.box = "generic/netbsd9"
box.ssh.shell = "sh"
config.vm.synced_folder ".", "/vagrant", disabled: true
box.vm.provision "shell" do |s|
s.path = "netbsd.sh"
s.name = "Provision"
s.args = ["provision"]
end
box.vm.provision "shell", run: "always" do |s|
s.path = "netbsd.sh"
s.name = "Setup"
s.args = ENV['PR'] ? ["setup", ENV['PR']] : ["setup"]
end
end
end