Append rather than prepend xcatpost to PATH

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-03-04 21:56:58 +00:00
parent 002d093a37
commit 8612355df9
8 changed files with 8 additions and 8 deletions

View File

@ -99,7 +99,7 @@ cd /xcatpost
#gunzip xcatpost.tar.gz
#tar -xvf xcatpost.tar
#/xcatpost/#TABLE:nodelist:THISNODE:node#
export PATH=/xcatpost:$PATH
export PATH=$PATH:/xcatpost
#save the postboot scripts to /var/tmp/mypostscript.post
#

View File

@ -40,7 +40,7 @@ ifconfig
cat /etc/resolv.conf
mount $MASTER_IP:/install/postscripts /xcatpost
cd /xcatpost
export PATH=/xcatpost:$PATH
export PATH=$PATH:/xcatpost
export NODE=#TABLE:nodelist:THISNODE:node#
export OSVER=#TABLE:nodetype:THISNODE:os#
export ARCH=#TABLE:nodetype:THISNODE:arch#

View File

@ -90,7 +90,7 @@ do
done
cd /xcatpost
export PATH=/xcatpost:$PATH
export PATH=$PATH:/xcatpost
# Use the run_ps subroutine to run the postscripts
TMP=`sed "/postscripts-start-here/,/postscripts-end-here/ s/\(.*\)/run_ps \1/;s/run_ps\s*#/#/;s/run_ps\s*$//" /xcatpost/mypostscript`

View File

@ -89,7 +89,7 @@ do
done
cd /xcatpost
export PATH=/xcatpost:$PATH
export PATH=$PATH:/xcatpost
# Use the run_ps subroutine to run the postscripts
TMP=`sed "/postscripts-start-here/,/postscripts-end-here/ s/\(.*\)/run_ps \1/;s/run_ps\s*#/#/;s/run_ps\s*$//" /xcatpost/mypostscript`

View File

@ -96,7 +96,7 @@ do
sleep $RAND
done
PATH=/xcatpost:$PATH
PATH=$PATH:/xcatpost
export PATH
# use the run_ps subroutine to run the postscripts

View File

@ -97,7 +97,7 @@ do
sleep $RAND
done
PATH=/xcatpost:$PATH
PATH=$PATH:/xcatpost
export PATH
# use the run_ps subroutine to run the postscripts

View File

@ -99,7 +99,7 @@ cd /xcatpost
#gunzip xcatpost.tar.gz
#tar -xvf xcatpost.tar
#/xcatpost/#TABLE:nodelist:THISNODE:node#
export PATH=/xcatpost:$PATH
export PATH=$PATH:/xcatpost
#save the postboot scripts to /var/tmp/mypostscript.post
#

View File

@ -103,7 +103,7 @@ cd /xcatpost
#gunzip xcatpost.tar.gz
#tar -xvf xcatpost.tar
#/xcatpost/#TABLE:nodelist:THISNODE:node#
export PATH=/xcatpost:$PATH
export PATH=$PATH:/xcatpost
# use the run_ps subroutine to run the postscripts
TMP=`sed "/postscripts-start-here/,/postscripts-end-here/ s/\(.*\)/run_ps \1/;s/run_ps\s*#/#/;s/run_ps\s*$//" /xcatpost/mypostscript`