Commit e4205836 authored by Michal Rostecki's avatar Michal Rostecki

vagrant: Add support for vagrant-libvirt

This change adds support for libvirt provider. Please note that libvirt doesn't support the "virtualbox" mount type, so an another MOUNT_TYPE has to be provided while using libvirt. 9p works well. Signed-off-by: 's avatarMichal Rostecki <mrostecki@opensuse.org>
parent f830d09d
...@@ -33,6 +33,10 @@ Vagrant.configure("2") do |config| ...@@ -33,6 +33,10 @@ Vagrant.configure("2") do |config|
v.memory = NODE_MEMORY v.memory = NODE_MEMORY
v.customize ["modifyvm", :id, "--audio", "none"] v.customize ["modifyvm", :id, "--audio", "none"]
end end
config.vm.provider "libvirt" do |v|
v.cpus = NODE_CPUS
v.memory = NODE_MEMORY
end
if Vagrant.has_plugin?("vagrant-timezone") if Vagrant.has_plugin?("vagrant-timezone")
config.timezone.value = :host config.timezone.value = :host
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment