diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index 4c70b1a6b23..2c90f2b084e 100755 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -476,6 +476,10 @@ nonSupportedHypervisors["Ovm"] = 1; } + if (args.context.zones[0]['network-model'] == "Advanced") { //CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal + nonSupportedHypervisors["BareMetal"] = 1; + } + if (items != null) { for (var i = 0; i < items.length; i++) { if (items[i].name in nonSupportedHypervisors)