mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	-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:
		| @@ -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); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user