select the correct migration network
This commit is contained in:
parent
9dd2538043
commit
d1478ff694
@ -1594,7 +1594,7 @@ export default class Xapi extends XapiBase {
|
||||
const vifsMap = {}
|
||||
if (accrossPools || networkId) {
|
||||
const {$ref: networkRef} = networkId
|
||||
? this.getObject(networkId)
|
||||
? hostXapi.getObject(networkId)
|
||||
: find(host.$PIFs, pif => pif.management).$network
|
||||
for (const vif of vm.$VIFs) {
|
||||
vifsMap[vif.$ref] = networkRef
|
||||
|
Loading…
Reference in New Issue
Block a user