-Skip link creation if Windows system won't resolve (TODO, have winpe able to figure out nodename client side to render this moot)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
674c7e029b
commit
8bef62719b
@ -392,7 +392,10 @@ sub mkinstall
|
||||
}
|
||||
sub getips { #TODO: all the possible ip addresses
|
||||
my $node = shift;
|
||||
my $ip = inet_ntoa(inet_aton($node));;
|
||||
my $ipn = inet_aton($node); #would use proper method, but trying to deprecate this anyhow
|
||||
unless ($ipn) { return (); }
|
||||
#THIS CURRENTLY WOULD BREAK WITH IPV6 anyway...
|
||||
my $ip = inet_ntoa($ipn);
|
||||
return ($ip);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user