do not need message for localhost.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2011-06-23 07:39:43 +00:00
parent 9a116c59ad
commit a854098a7d

View File

@ -307,7 +307,10 @@ sub process_request {
}
else
{
xCAT::SvrUtils::sendmsg(":Ignoring host $node in /etc/hosts, it does not belong to any nets defined in networks table.", $callback);
unless ($node =~ /localhost/)
{
xCAT::SvrUtils::sendmsg(":Ignoring host $node in /etc/hosts, it does not belong to any nets defined in networks table.", $callback);
}
}
}
}