From fb89fc529402de4225cc44c04bc339f2318e1e94 Mon Sep 17 00:00:00 2001 From: Ivan Pepelnjak Date: Thu, 10 Sep 2026 14:55:26 +0200 Subject: [PATCH] Libvirt: Check access to system QEMU socket --- netsim/providers/libvirt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netsim/providers/libvirt.yml b/netsim/providers/libvirt.yml index 55413e47eb..50904f20bb 100644 --- a/netsim/providers/libvirt.yml +++ b/netsim/providers/libvirt.yml @@ -17,8 +17,8 @@ probe: err: "vagrant is not installed" - cmd: [ bash, "-c", "vagrant plugin list|grep vagrant-libvirt" ] err: "vagrant-libvirt plugin is not installed" -- cmd: virsh net-list - err: "You don't have access to virsh networking, your user should be in libvirt group" +- cmd: virsh -c qemu:///system net-list + err: "You don't have access to system-wide virsh networking, your user should be in libvirt group" act_probe: "virsh list" act_title: "KVM/libvirt domains (virtual machines)" cleanup: [ Vagrantfile ]