2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 19:01:44 +00:00

Print the XCAT_DEV_WITHERSPOON bypass message out to the user

This commit is contained in:
Victor Hu
2017-06-22 23:08:15 -04:00
parent 32b467d635
commit bc46643b73

View File

@ -1095,7 +1095,7 @@ sub bmcdiscovery_openbmc{
if (defined($response->{data}->{Model}) and defined($response->{data}->{SerialNumber})) {
$mtm = $response->{data}->{Model};
if (defined($::XCAT_DEV_WITHERSPOON) && ($::XCAT_DEV_WITHERSPOON eq "TRUE")) {
print "XCAT_DEV_WITHERSPOON=TRUE, forcing MTM to blank string (ORIG MTM=$mtm)\n";
xCAT::MsgUtils->message("I", { data => ["XCAT_DEV_WITHERSPOON=TRUE, forcing MTM to empty string for $ip (Original MTM=$mtm)"] }, $::CALLBACK);
$mtm = "";
}
$serial = $response->{data}->{SerialNumber};