2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

Merge pull request #427 from bybai/bmcdiscover

issue426 bmcdiscover return message need modified on ubuntu
This commit is contained in:
zet809 2015-11-18 16:46:28 +08:00
commit 964453c95a

View File

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