mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #5083 from xuweibj/rspconfig_rc
modify return code of rspconfig hostname error for perl code
This commit is contained in:
commit
ad1c597eba
@ -983,7 +983,7 @@ sub process_request {
|
||||
if ($next_status{LOGIN_RESPONSE} eq "RSPCONFIG_SET_HOSTNAME_REQUEST" and $status_info{RSPCONFIG_SET_HOSTNAME_REQUEST}{data} =~ /^\*$/) {
|
||||
if ($node_info{$node}{bmc} =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/) {
|
||||
my $info_msg = "Invalid OpenBMC Hostname $node_info{$node}{bmc}, can't set to OpenBMC";
|
||||
xCAT::SvrUtils::sendmsg($info_msg, $callback, $node);
|
||||
xCAT::SvrUtils::sendmsg([1, $info_msg], $callback, $node);
|
||||
$wait_node_num--;
|
||||
next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user