mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
add ability to show interface's ip address with qemu agent. Add checking agent if installed or not
This commit is contained in:
@@ -30,7 +30,7 @@ def interfaces(request, compute_id):
|
||||
compute.type)
|
||||
ifaces = conn.get_ifaces()
|
||||
try:
|
||||
netdevs = conn.get_net_device()
|
||||
netdevs = conn.get_net_devices()
|
||||
except:
|
||||
netdevs = ['eth0', 'eth1']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user