move test VMs to vagrant and test inventory

This commit is contained in:
2025-01-26 16:21:48 +01:00
parent 4de2489293
commit 416f27c313
3 changed files with 127 additions and 8 deletions
Vendored
+64
View File
@@ -0,0 +1,64 @@
Vagrant.configure("2") do |config|
config.vm.boot_timeout = 600
config.vm.provider "libvirt" do |lv|
lv.memory = "2048"
lv.cpus = 1
end
config.vm.define "talos" do |debian|
debian.vm.box = "debian/bookworm64"
debian.vm.hostname = "test-talos"
debian.vm.network "private_network", type: "dhcp"
debian.vm.network "forwarded_port", guest: 22, host: 3022
end
config.vm.define "nocturnal" do |debian|
debian.vm.box = "debian/bookworm64"
debian.vm.hostname = "test-nocturnal"
debian.vm.network "private_network", ip: "192.168.121.100" # Static IP needed for nas
debian.vm.network "forwarded_port", guest: 22, host: 3023
end
config.vm.define "vaermina" do |debian|
debian.vm.box = "debian/bookworm64"
debian.vm.hostname = "test-vaermina"
debian.vm.network "private_network", type: "dhcp"
debian.vm.network "forwarded_port", guest: 22, host: 3024
end
config.vm.define "meridia" do |arch|
arch.vm.box = "generic/arch"
arch.vm.hostname = "test-meridia"
arch.vm.network "private_network", type: "dhcp"
arch.vm.network "forwarded_port", guest: 22, host: 3025
arch.vm.provision "shell", inline: <<-SHELL
pacman -Sy --noconfirm python
SHELL
end
config.vm.define "dibella" do |arch|
arch.vm.box = "generic/arch"
arch.vm.hostname = "test-dibella"
arch.vm.network "private_network", type: "dhcp"
arch.vm.network "forwarded_port", guest: 22, host: 3026
arch.vm.provision "shell", inline: <<-SHELL
pacman -Sy --noconfirm python
SHELL
end
config.vm.define "azura" do |arch|
arch.vm.box = "generic/arch"
arch.vm.hostname = "test-azura"
arch.vm.network "private_network", type: "dhcp"
arch.vm.network "forwarded_port", guest: 22, host: 3027
arch.vm.provision "shell", inline: <<-SHELL
pacman -Sy --noconfirm python
SHELL
end
config.vm.define "kynareth" do |arch|
arch.vm.box = "generic/arch"
arch.vm.hostname = "test-kynareth"
arch.vm.network "private_network", type: "dhcp"
arch.vm.network "forwarded_port", guest: 22, host: 3028
arch.vm.provision "shell", inline: <<-SHELL
pacman -Sy --noconfirm python
SHELL
end
end