mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal
(cherry picked from commit 3b704ac6f3f3575f45722308cd1f882acd097fb1)
This commit is contained in:
parent
f3196d6518
commit
35dab49bb0
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user