From 9e0fe3ae0b4b68d7a92b1d058d067526fb594455 Mon Sep 17 00:00:00 2001 From: bybai Date: Wed, 18 Nov 2015 00:09:20 -0500 Subject: [PATCH] issue426 bmcdiscover return message need modified on ubuntu --- xCAT-server/lib/xcat/plugins/bmcdiscover.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index 412acee53..2a706e851 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -905,9 +905,7 @@ sub bmcdiscovery_ipmi { xCAT::MsgUtils->message("I", {data=>["Warning: bmc username is incorrect for $node"]}, $::CALLBACK); } elsif ($output =~ /RAKP \S* \S* is invalid/) { xCAT::MsgUtils->message("I", {data=>["Warning: bmc password is incorrect for $node"]}, $::CALLBACK); - } else { - xCAT::MsgUtils->message("I", {data=>["Warning: other error for $node"]}, $::CALLBACK); - } + } if ( defined($opz) || defined($opw) ) { format_stanza($node, $ip);