forked from konstruktoid/hardening
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
26 lines (24 loc) · 836 Bytes
/
Vagrantfile
File metadata and controls
26 lines (24 loc) · 836 Bytes
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
Vagrant.configure("2") do |config|
config.vbguest.installer_options = { allow_kernel_upgrade: false }
config.vbguest.auto_update = false
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--cableconnected1", "on"]
vb.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"]
vb.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL]
vb.memory = "2048"
end
hosts = [
{ name: "jammy", box: "bento/ubuntu-22.04" },
{ name: "noble", box: "bento/ubuntu-24.04" },
{ name: "resolute", box: "konstruktoid/ubuntu-26.04" },
]
hosts.each do |host|
config.vm.define host[:name] do |node|
node.vm.box = host[:box]
node.ssh.insert_key = true
node.ssh.key_type = "ed25519"
node.vm.hostname = host[:name]
node.vm.boot_timeout = 600
end
end
end