From c8bfd3b8af2857141c9f4501e634944a1d5f91cd Mon Sep 17 00:00:00 2001 From: Ivan Pepelnjak Date: Thu, 2 Dec 2021 17:20:25 +0100 Subject: [PATCH] Bug fix: do not use QEMU sessions (implements #53) As mentioned in #53, Vagrant 2.2 uses QEMU sessions on Fedora, breaking the creation of custom virtual networks. Fix: disable the use of QEMU sessions in Vagrantfile --- netsim/templates/provider/libvirt/Vagrantfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/netsim/templates/provider/libvirt/Vagrantfile.j2 b/netsim/templates/provider/libvirt/Vagrantfile.j2 index b68864b9a..7bf876b1b 100644 --- a/netsim/templates/provider/libvirt/Vagrantfile.j2 +++ b/netsim/templates/provider/libvirt/Vagrantfile.j2 @@ -6,6 +6,7 @@ Vagrant.configure("2") do |config| {% if n.mgmt is defined and n.mgmt.mac is defined %} {{ name }}.vm.provider :libvirt do |domain| domain.management_network_mac = "{{n.mgmt.mac}}" + domain.qemu_use_session = false end {% endif %} {% include n.device ~ "-domain.j2" %}