feat: add vagrantfile support

This commit is contained in:
Andrew Rioux
2025-10-20 08:26:33 -04:00
parent d31a09e331
commit cf53d7e1c9
4 changed files with 52 additions and 73 deletions

17
Vagrantfile vendored Normal file
View File

@@ -0,0 +1,17 @@
$script = <<-SCRIPT
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo 'source "$HOME/.cargo/env"' > ~/.bashrc
SCRIPT
Vagrant.configure("2") do |config|
config.vm.box = "generic/freebsd14"
config.vm.network "private_network", ip: "192.168.56.198"
config.vm.provision "shell", inline: $script
config.vm.provider "virtualbox" do |vb|
vb.memory = 8192
vb.cpus = 8
end
end