support long hostnames

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-05-22 12:41:14 +00:00
parent 29aa9d83a7
commit b13c713888

View File

@ -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