From 678350ea1e20625f79564d00348dd3996d90100b Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 17 Apr 2012 11:03:27 -0700 Subject: [PATCH] bug 14516: add zone wizard - exclude EIP, ELB, SG network offerings only when hypervisor is VMware or BareMetal. --- ui/scripts/zoneWizard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index a8a341e58ab..baa13a5cb46 100644 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -415,8 +415,8 @@ }); } }); - - if(args.hypervisor == "XenServer") { + + if(args.hypervisor != "VMware" && args.hypervisor != "BareMetal") { availableNetworkOfferingObjs.push(thisNetworkOffering); } else { //only network offerings that does not include EIP, ELB, SG