From 2e9d47348bca5b49553729f16d4ac858a2f774cb Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 5 Jan 2017 23:57:29 -0500 Subject: [PATCH] fix issue https://github.com/xcat2/xcat-core/issues/2371 --- xCAT-server/share/xcat/scripts/configcumulus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/scripts/configcumulus b/xCAT-server/share/xcat/scripts/configcumulus index 7a6cbb55d..f55953d95 100755 --- a/xCAT-server/share/xcat/scripts/configcumulus +++ b/xCAT-server/share/xcat/scripts/configcumulus @@ -73,7 +73,7 @@ if ($::SWITCH) { my $switchestab = xCAT::Table->new('switches'); my $switches_hash = $switchestab->getNodesAttribs(\@filternodes,['switchtype']); foreach my $fsw (@filternodes) { - if (($switches_hash->{$fsw}->[0]->{switchtype}) =~ /cumulus/) { + if (($switches_hash->{$fsw}->[0]->{switchtype}) =~ /onie/) { push @nodes, $fsw; } else { xCAT::MsgUtils->message("E","The $fsw is not cumulus switch, will not config");