Have xcatd not print warnings in the event of non-resolvable cirumstance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
445211b036
commit
05796434a8
@ -973,11 +973,13 @@ if ($inet6support) {
|
||||
$peerfqdn=$peerhost;
|
||||
my $peerhostorg=$peerhost; # save original with domain for validation
|
||||
|
||||
my @hosts;
|
||||
push (@hosts, $peerhost);
|
||||
my $nd = xCAT::NetworkUtils->getNodeDomains(\@hosts);
|
||||
my %nodedomains = %$nd;
|
||||
$domain = $nodedomains{$peerhost};
|
||||
if ($peerhost) {
|
||||
my @hosts;
|
||||
push (@hosts, $peerhost);
|
||||
my $nd = xCAT::NetworkUtils->getNodeDomains(\@hosts);
|
||||
my %nodedomains = %$nd;
|
||||
$domain = $nodedomains{$peerhost};
|
||||
}
|
||||
|
||||
if ($domain) {
|
||||
# strip off domain if set
|
||||
|
Loading…
x
Reference in New Issue
Block a user