Open pvaczi opened 4 years ago
I didn't try it. But yes, it should not be difficult to switch to hyper-v. Though maybe not trivial:
# Virtualbox settings
config.vm.provider "virtualbox" do |vb|
vb.name = argMachineName
vb.memory = "6144" # 6 GB
# vb.memory = "4096" # 4 GB + enable add_swap.sh below !!!
end
class VagrantPlugins::ProviderVirtualBox::Action::SetName
- the part which allocates additional disk. This should be either completely reworked. Or probably it is possible to extend size of the the main disk (instead of adding additional) and skip scripts/provision/add_disk.sh
Hi,
I'm new to this. It is maybe trivial. Can I use this on Hyper-v too? If not, is it enough to replace virtualbox in the Vagrantfile with hyperv and replace ubuntu/xenial64 with hashicorp/bionic64 (as I can see, there is no ubuntu/xenial for hyperv)?
Thanks, Pál Váczi