1
0
mirror of https://github.com/krislamo/kernmod.git synced 2024-12-16 20:00:36 +00:00
kernmod/Vagrantfile

14 lines
386 B
Ruby
Raw Normal View History

2022-04-20 05:10:21 +00:00
VAGRANT_BOX=ENV["VAGRANT_BOX"]
if !VAGRANT_BOX || VAGRANT_BOX == "debian"
VAGRANT_BOX = "debian/bullseye64"
elsif VAGRANT_BOX == "rocky"
VAGRANT_BOX = "rockylinux/8"
end
2021-11-10 06:14:16 +00:00
Vagrant.configure("2") do |config|
2022-04-20 05:10:21 +00:00
config.vm.box = VAGRANT_BOX
2021-11-10 06:14:16 +00:00
config.vm.synced_folder ".", "/vagrant"
config.vm.network "private_network", type: "dhcp"
config.vm.provision "shell", path: "build.sh"
end