libvirt-check-trim: fix libvirt URI
This commit is contained in:
parent
f599c94a13
commit
78e606f6d7
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import libvirt
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
conn = libvirt.openReadOnly(None)
|
conn = libvirt.openReadOnly('qemu:///system')
|
||||||
if not conn:
|
if not conn:
|
||||||
print('Failed to open connection to the hypervisor!')
|
print('Failed to open connection to the hypervisor!')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue