From 7e4c3f4eff96e150ade8a653c3bc4a63ab3909c1 Mon Sep 17 00:00:00 2001 From: ertaozh Date: Tue, 4 Sep 2018 22:21:05 -0400 Subject: [PATCH] Update output message if bmcdiscover matching a pre-defined node --- xCAT-server/lib/xcat/plugins/bmcdiscover.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index 02dec2a6b..d77639548 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -1174,7 +1174,7 @@ sub bmcdiscovery_ipmi { my $mtmsip = lc($mtm)."*".lc($serial)."-".$ip; if (exists($::VPDHASH{$mtmsip})) { my $pre_node = $::VPDHASH{$mtmsip}; - xCAT::MsgUtils->message("I", { data => ["Match node $pre_node with bmc ip address: $ip"] }, $::CALLBACK); + xCAT::MsgUtils->message("I", { data => ["Found match node $pre_node with bmc ip address: $ip, rsetboot/rpower $pre_node to continue hardware discovery."] }, $::CALLBACK); return; } $mtms_node = "node-$mtm-$serial"; @@ -1303,7 +1303,7 @@ sub bmcdiscovery_openbmc{ my $mtmsip = lc($mtm)."*".lc($serial)."-".$ip; if (exists($::VPDHASH{$mtmsip})) { my $pre_node = $::VPDHASH{$mtmsip}; - xCAT::MsgUtils->message("I", { data => ["Match node $pre_node with bmc ip address: $ip"] }, $::CALLBACK); + xCAT::MsgUtils->message("I", { data => ["Found match node $pre_node with bmc ip address: $ip, rsetboot/rpower $pre_node to continue hardware discovery."] }, $::CALLBACK); return; } $mtms_node = "node-$mtm-$serial";