libvirt-check-trim: fix libvirt URI

This commit is contained in:
neingeist 2016-07-07 17:30:22 +02:00
parent f599c94a13
commit 78e606f6d7

View file

@ -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)