From 78e606f6d7185d8b939480482627c82f7b318fb4 Mon Sep 17 00:00:00 2001 From: neingeist Date: Thu, 7 Jul 2016 17:30:22 +0200 Subject: [PATCH] libvirt-check-trim: fix libvirt URI --- libvirt-check-trim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt-check-trim.py b/libvirt-check-trim.py index 8c844ea..0b0c73e 100644 --- a/libvirt-check-trim.py +++ b/libvirt-check-trim.py @@ -7,7 +7,7 @@ import libvirt import sys -conn = libvirt.openReadOnly(None) +conn = libvirt.openReadOnly('qemu:///system') if not conn: print('Failed to open connection to the hypervisor!') sys.exit(1)