From 9b7b07a6eecc11e8851f930d0b180bbecc6344f7 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 17 Jan 2013 09:23:39 +0000 Subject: [PATCH] fxied bug 3291 in AIX env. There is not precreatemypostscripts=1 in site table for AIX. So get the mypostscript.nodename.tmp directly. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 1ed78cec0..1f9a23439 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -549,8 +549,8 @@ sub getmypost { if( !defined($TFTPDIR) ) { $TFTPDIR="/tftpboot"; } - - `mkdir -p /xcatpost; cd /xcatpost; tftp -o $scriptname $servnode $TFTPDIR/mypostscripts/mypostscript.$::shorthost`; + + `mkdir -p /xcatpost; cd /xcatpost; tftp -o $scriptname $servnode $TFTPDIR/mypostscripts/mypostscript.$::shorthost.tmp`; # `wget -N --waitretry=10 --random-wait -T 60 http://$servnode$TFTPDIR/mypostscripts/mypostscript.$::shorthost -P /xcatpost 2>> /tmp/wget.log; mv /xcatpost/mypostscript.$::shorthost $scriptname`; if(!( -f $scriptname)) {