Homelab/Vagrantfile

26 lines
690 B
Ruby

Vagrant.configure("2") do |config|
config.vm.box = "debian/bullseye64"
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.provision :shell, path: "https://git.halis.io/athens-school/ISO-repository/raw/branch/master/quick-installer.sh", run: "always"
config.vm.network "public_network", bridge: "Intel(R) I211 Gigabit Network Connection"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 1
end
(1..3).each do |i|
config.vm.define "hb-slim-#{i}"
end
(1..2).each do |i|
config.vm.define "hb-wide-#{i}" do |wide|
wide.vm.provider "virtualbox" do |v|
v.memory = 4096
v.cpus = 2
end
end
end
end