mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Update output message if bmcdiscover matching a pre-defined node
This commit is contained in:
parent
7f379abeb4
commit
7e4c3f4eff
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user