From 9b0ca7469390847389f9206675be00ef21a327a9 Mon Sep 17 00:00:00 2001 From: IgnisDa Date: Wed, 20 Jan 2021 19:25:11 +0530 Subject: [PATCH] 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 --- Vagrantfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 9ab8beae94..e4d938ce49 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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"