From 35dab49bb03576434a495bac95ad3d46d855d38c Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 7 Oct 2014 10:59:50 -0700 Subject: [PATCH] CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal (cherry picked from commit 3b704ac6f3f3575f45722308cd1f882acd097fb1) --- ui/scripts/zoneWizard.js | 4 ++++ 1 file changed, 4 insertions(+) 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)