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:
lissav 2013-05-22 12:42:02 +00:00
parent f5ccad350e
commit 389c3cb193

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