mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	support long hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -398,14 +398,15 @@ else | ||||
| fi | ||||
|      | ||||
| max_retries=2 | ||||
| # try short hostname first | ||||
| if [ -n "$node_short" ]; then  | ||||
|     download_mypostscript $SIP $node_short $max_retries $TFTPDIR | ||||
|     #disable trying the long node name for now  | ||||
|     #if [ $? -ne 0 ]; then | ||||
|     #	if [ "$node" != "$node_short" ]; then | ||||
|     #	    download_mypostscript $SIP $node $postfix $max_retries $TFTPDIR | ||||
|     #	fi | ||||
|     #fi | ||||
|     if [ $? -ne 0 ]; then | ||||
|         # try long hostname  | ||||
|     	if [ "$node" != "$node_short" ]; then | ||||
|     	    download_mypostscript $SIP $node $postfix $max_retries $TFTPDIR | ||||
|     	fi | ||||
|     fi | ||||
| fi | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user