Skip to content

Commit b74097a

Browse files
author
Nik Mohamad Aizuddin b. Nik Azmi
committed
feat(vagrant): Add HyperV
1 parent ec1fe0f commit b74097a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Vagrantfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ Vagrant.configure("2") do |config|
4343
v.customize ['modifyvm', :id, '--audio', 'none']
4444
end
4545

46+
centos_box.vm.provider "hyperv" do |v, override|
47+
override.vagrant.plugins = config.vagrant.plugins + ["vagrant-vbguest"]
48+
override.vbguest.auto_update = false
49+
override.vm.box_download_checksum_type = "sha256"
50+
override.vm.box_download_checksum = "51bb0495a2c01f25ed511ab02608d05c868285d17372be4efedd798f9ac1c81f"
51+
v.maxmemory = "2048"
52+
v.cpus = "2"
53+
v.memory = "2048"
54+
end
55+
4656
centos_box.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ['.git/']
4757
end
4858
end

0 commit comments

Comments
 (0)