mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +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:
parent
adfdad013c
commit
592112590c
6 changed files with 122 additions and 23 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue