-
Notifications
You must be signed in to change notification settings - Fork 6
/
Vagrantfile
61 lines (54 loc) · 1.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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.gui = false
end
config.vm.provision "shell", "path": "scripts/vagrant/provision.sh"
# CentOS boxes
config.vm.define "centos-7" do |centos7|
centos7.vm.box = "bento/centos-7"
end
# Fedora boxes
config.vm.define "fedora-37" do |fedora37|
fedora37.vm.box = "bento/fedora-37"
end
config.vm.define "fedora-38" do |fedora38|
fedora38.vm.box = "bento/fedora-38"
end
config.vm.define "fedora-39" do |fedora39|
fedora39.vm.box = "bento/fedora-39"
end
config.vm.define "fedora-40" do |fedora40|
fedora40.vm.box = "bento/fedora-40"
end
# Kali boxes
config.vm.define "kali" do |kali|
kali.vm.box = "kalilinux/rolling"
end
# Ubuntu boxes
config.vm.define "ubuntu-18.04" do |bionic|
bionic.vm.box = "ubuntu/bionic64"
end
config.vm.define "ubuntu-20.04" do |focal|
focal.vm.box = "ubuntu/focal64"
end
config.vm.define "ubuntu-22.04" do |jammy|
jammy.vm.box = "ubuntu/jammy64"
end
config.vm.define "ubuntu-24.04" do |jammy|
jammy.vm.box = "bento/ubuntu-24.04"
end
if Vagrant.has_plugin?("vagrant-proxyconf")
if ENV["http_proxy"]
config.proxy.http = ENV["http_proxy"]
end
if ENV["https_proxy"]
config.proxy.https = ENV["https_proxy"]
end
if ENV["no_proxy"]
config.proxy.no_proxy = ENV["no_proxy"]
end
end
end