CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal

(cherry picked from commit 3b704ac6f3f3575f45722308cd1f882acd097fb1)
This commit is contained in:
Jessica Wang 2014-10-07 10:59:50 -07:00 committed by David Nalley
parent f3196d6518
commit 35dab49bb0

View File

@ -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)