mirror of https://github.com/zulip/zulip.git
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:
parent
7c485c1302
commit
9b0ca74693
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue