fix defect 3724, makehosts should report error/warning messages when entrys in hosts table are not correct
This commit is contained in:
parent
03281d9891
commit
f0e5505b24
@ -480,6 +480,13 @@ sub process_request
|
||||
{
|
||||
addnode $callback, $_->{node}, $_->{ip}, $_->{hostnames}, $domain;
|
||||
}
|
||||
else
|
||||
{
|
||||
my $rsp;
|
||||
push @{$rsp->{data}}, "Invalid IP Addr \'$_->{ip}\' for node \'$_->{node}\'.";
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
}
|
||||
|
||||
if (defined($_->{otherinterfaces}))
|
||||
{
|
||||
addotherinterfaces $callback, $_->{node}, $_->{otherinterfaces}, $domain;
|
||||
|
Loading…
x
Reference in New Issue
Block a user