mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 6268: cloud-private is actually the management interface
This commit is contained in:
parent
f70b55daa2
commit
2c14634e3b
@ -444,7 +444,7 @@ def get_private_nic( args):
|
||||
pifrec = session.xenapi.PIF.get_record(pif)
|
||||
network = pifrec.get('network')
|
||||
nwrec = session.xenapi.network.get_record(network)
|
||||
if nwrec.get('name_label') == 'cloud-private':
|
||||
if nwrec.get('name_label') == 'cloud-guest':
|
||||
return pifrec.get('device')
|
||||
if pifrec.get('management'):
|
||||
mgmtnic = pifrec.get('device')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user