mirror of https://github.com/apache/cloudstack.git
bug 14073: Quick Installer - make zones created from Quick Installer to be public (not dedicated to any domain)
This commit is contained in:
parent
e992a25e1a
commit
e6d43e157e
|
|
@ -264,8 +264,7 @@
|
|||
// Plug in hard-coded values specific to quick install
|
||||
data: {
|
||||
zone: {
|
||||
networkType: 'Basic',
|
||||
domain: 1,
|
||||
networkType: 'Basic',
|
||||
networkOfferingId: selectedNetworkOffering.id
|
||||
},
|
||||
pluginFrom: {
|
||||
|
|
|
|||
|
|
@ -1017,9 +1017,11 @@
|
|||
if (internaldns2 != null && internaldns2.length > 0)
|
||||
array1.push("&internaldns2=" + todb(internaldns2));
|
||||
|
||||
if(args.data.zone.ispublic == null) //public checkbox is unchecked
|
||||
array1.push("&domainid=" + args.data.zone.domain);
|
||||
|
||||
if(args.data.pluginFrom == null) { //from zone wizard, not from quick instsaller(args.data.pluginFrom != null && args.data.pluginFrom.name == 'installWizard') who doesn't have public checkbox
|
||||
if(args.data.zone.ispublic == null) //public checkbox in zone wizard is unchecked
|
||||
array1.push("&domainid=" + args.data.zone.domain);
|
||||
}
|
||||
|
||||
if(args.data.zone.networkdomain != null && args.data.zone.networkdomain.length > 0)
|
||||
array1.push("&domain=" + todb(args.data.zone.networkdomain));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue