add hyperv

This commit is contained in:
EthanShoeDev
2025-12-22 19:09:29 -05:00
parent 3f18e881fa
commit 35896a5eac
2 changed files with 9 additions and 0 deletions

5
vm_test/Vagrantfile vendored
View File

@@ -14,6 +14,11 @@ Vagrant.configure("2") do |config|
vb.customize ["modifyvm", :id, "--vram", "256"]
end
config.vm.provider "hyperv" do |hv|
hv.memory = "8192"
hv.cpus = 6
end
# Provisioning script to install prerequisites
config.vm.provision "shell", privileged: true, powershell_args: "-ExecutionPolicy Bypass", inline: <<-SHELL
$winget_ids = @(

View File

@@ -13,6 +13,10 @@ choose:
up:
vagrant up
# Up the vagrant box
up-hyperv:
vagrant up --provider=hyperv
# Reload the vagrant box and provision it
reload:
vagrant reload --provision