Connect to actual IP not localhost for Libvirt
This commit is contained in:
parent
75d0e7f989
commit
d336fce253
|
@ -590,7 +590,7 @@ else:
|
|||
|
||||
if enable_hypervisor:
|
||||
# Check that libvirtd is listening TCP
|
||||
libvirt_check_name = "qemu+tcp://127.0.0.1:16509/system"
|
||||
libvirt_check_name = "qemu+tcp://{}:16509/system".format(myhostname)
|
||||
logger.out('Connecting to Libvirt daemon at {}'.format(libvirt_check_name), state='i')
|
||||
try:
|
||||
lv_conn = libvirt.open(libvirt_check_name)
|
||||
|
|
Loading…
Reference in New Issue