mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-04 00:02:37 +01:00
Merge remote-tracking branch 'origin/4.12'
This commit is contained in:
commit
0f4b1f511f
@ -91,7 +91,7 @@
|
||||
url: createURL('listNics'),
|
||||
data: {
|
||||
virtualmachineid: instance.id,
|
||||
networkId: network.id
|
||||
networkid: (args.context.networkid != undefined) ? args.context.networkid : network.id
|
||||
},
|
||||
success: function(json) {
|
||||
var nic = json.listnicsresponse.nic[0];
|
||||
@ -2465,6 +2465,10 @@
|
||||
networkid: $tierSelect.val(),
|
||||
vpcid: args.context.vpc[0].id
|
||||
});
|
||||
$.extend(args.context, {
|
||||
networkid: $tierSelect.val(),
|
||||
vpcid: args.context.vpc[0].id
|
||||
});
|
||||
} else if ('networks' in args.context && !args.context.ipAddresses[0].isportable) {
|
||||
$.extend(data, {
|
||||
networkid: args.context.networks[0].id
|
||||
|
||||
@ -90,7 +90,7 @@
|
||||
url: createURL('listNics'),
|
||||
data: {
|
||||
virtualmachineid: instance.id,
|
||||
nicId: instance.nic[0].id
|
||||
networkId: network.id
|
||||
},
|
||||
success: function(json) {
|
||||
var nic = json.listnicsresponse.nic[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user