vagrant: Add hyperV support to vagrant config.

HyperV is native to Windows and should give a
significant performance boost over other vagrant
providers. Running the Zulip development environment
using HyperV requires a few custom changes. This
commit aims to add HyperV support to Zulip's Vagrant
configuration.

Fixes part of zulip/zulip#16994
This commit is contained in:
IgnisDa 2021-01-20 19:25:11 +05:30 committed by Tim Abbott
parent 7c485c1302
commit 9b0ca74693
1 changed files with 7 additions and 0 deletions

7
Vagrantfile vendored
View File

@ -132,6 +132,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
end
config.vm.provider "hyperv" do |h, override|
override.vm.box = "bento/ubuntu-18.04"
h.memory = vm_memory
h.maxmemory = vm_memory
h.cpus = vm_num_cpus
end
config.vm.provider "parallels" do |prl, override|
override.vm.box = "bento/ubuntu-18.04"
override.vm.box_version = "202005.21.0"