mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
BUG-ID: CS-19426: UI > VPC > VM Wizard > change to send ipToNetworkList parameter instead of networkIds parameter to deployVM API.
Reviewed-by: Brian
This commit is contained in:
parent
f03263782f
commit
d71483f771
@ -817,10 +817,12 @@
|
||||
});
|
||||
}
|
||||
} else if (step6ContainerType == 'nothing-to-select') {
|
||||
if (args.context.networks != null) { //from VPC tier
|
||||
$.extend(deployVmData, {
|
||||
networkids : args.context.networks[0].id
|
||||
});
|
||||
if ("vpc" in args.context) { //from VPC tier
|
||||
deployVmData["iptonetworklist[0].networkid"] = args.context.networks[0].id;
|
||||
if (args.data["vpc-specify-ip"] != undefined && args.data["vpc-specify-ip"].length > 0) {
|
||||
deployVmData["iptonetworklist[0].ip"] = args.data["vpc-specify-ip"];
|
||||
}
|
||||
|
||||
$.extend(deployVmData, {
|
||||
domainid : args.context.vpc[0].domainid
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user