vagrant - Setting "Paravirtualization Interface" in Vagrantfile -
virtualbox 5 exposes setting called "paravirtualization interface" can improve performance specific guest operating systems.
is there way set option in vagrantfile?
and in general: there documentation on how set acceleration settings via vagrantfile?
found it. vboxmanage
(the virtualbox cli tool) has optional argument called --paravirtprovider
. can add vb.customize
call:
vagrant.configure(2) |config| config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" |vb| vb.customize [ "modifyvm", :id, "--memory", "1024", "--paravirtprovider", "kvm", # linux guest "--cpus", "2" ] end end
the other cpu settings available way, vb.customize
accepts same argument vboxmanage
. refer vboxmanage --help
list of options.
Comments
Post a Comment