Workaround networking issues with Libvirt

Vagrant 2.2 on Fedora 30 enables QEMU Session by default [1] which causes
problems with setting up the private network.

Explicitly telling Vagrant not to use the QEMU session if we're running on
Libvirt is the suggested workaround for now.

[1] https://fedoraproject.org/wiki/Changes/Vagrant_2.2_with_QEMU_Session
This commit is contained in:
Sam Bristow 2019-08-08 21:37:53 +12:00 committed by Alexander Bokovoy
parent 3bd27cfe9d
commit 265d064bf8

1
Vagrantfile vendored
View File

@ -8,6 +8,7 @@ Vagrant.configure(2) do |config|
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.provider :libvirt do |libvirt|
libvirt.qemu_use_session = false
libvirt.memory = 1024
end