Vagrant Libvirt and Fedora 30



  • If any of you use vagrant-libvirt and upgraded to Fedora 30 you might notice something strange. I finally figured it out after reviewing a pull request. Vagrant-libvirt was only using the user-session and not the default session even if you are in the libvirt group. So your networks wouldn't be available to the Vagrant boxes. Here's how to fix it:

    Put the following in ~/.vagrant.d/Vagrantfile

    Vagrant.configure("2") do |config|
      config.vm.provider :libvirt do |libvirt|
        libvirt.qemu_use_session = false
      end
    end
    

    Now it should behave like it used to before Fedora 30.


Log in to reply