From f2abea460b123287bde201ea205a8f88e4d5bb87 Mon Sep 17 00:00:00 2001 From: mellor Date: Thu, 13 Mar 2008 18:47:53 +0000 Subject: [PATCH] update postinstall wget call git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/install/scripts/post.rh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/xCAT-server-2.0/share/xcat/install/scripts/post.rh b/xCAT-server-2.0/share/xcat/install/scripts/post.rh index b1c40533a..eddbd1764 100644 --- a/xCAT-server-2.0/share/xcat/install/scripts/post.rh +++ b/xCAT-server-2.0/share/xcat/install/scripts/post.rh @@ -34,9 +34,7 @@ do GOTIT=0 for i in $MASTER_IPS do -# mount -r $i:$XCATROOT $XCATROOT -# mount -o ro,nolock $i:/install/postscripts /xcatpost - wget http://$i/install/autoinst/xcatpost.tar.bz2 + wget --wait=10 --random-wait --waitretry=10 --retry-connrefused -t 0 -T 60 http://$i/install/autoinst/xcatpost.tar.bz2 if [ "$?" = "0" ] then GOTIT=1 @@ -50,12 +48,8 @@ do RAND=$(perl -e 'print int(rand(5)). "\n"') sleep $RAND done -#mount -r #XCATVAR:MASTER_IP#:$XCATROOT $XCATROOT -#mount -o ro,nolock #XCATVAR:MASTER_IP#:$XCATROOT $XCATROOT -#$XCATROOT/bin/postage tar -xvf xcatpost.tar.bz2 /xcatpost/#TABLE:nodelist:THISNODE:node# cd / -umount /xcatpost -rmdir /xcatpost +rm -Rf /xcatpost exit 0