From 8612355df970be5f579e3a861c99398e343a69f6 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 4 Mar 2013 21:56:58 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/install/scripts/post.debian | 2 +- xCAT-server/share/xcat/install/scripts/post.esx | 2 +- xCAT-server/share/xcat/install/scripts/post.rhel5.s390x | 2 +- xCAT-server/share/xcat/install/scripts/post.rhel6.s390x | 2 +- xCAT-server/share/xcat/install/scripts/post.sles10.s390x | 2 +- xCAT-server/share/xcat/install/scripts/post.sles11.s390x | 2 +- xCAT-server/share/xcat/install/scripts/post.ubuntu | 2 +- xCAT-server/share/xcat/install/scripts/post.xcat | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.debian b/xCAT-server/share/xcat/install/scripts/post.debian index f8985ad09..08dea2719 100644 --- a/xCAT-server/share/xcat/install/scripts/post.debian +++ b/xCAT-server/share/xcat/install/scripts/post.debian @@ -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 # diff --git a/xCAT-server/share/xcat/install/scripts/post.esx b/xCAT-server/share/xcat/install/scripts/post.esx index 7f5f639f2..ba5911f67 100644 --- a/xCAT-server/share/xcat/install/scripts/post.esx +++ b/xCAT-server/share/xcat/install/scripts/post.esx @@ -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# diff --git a/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x b/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x index 8d44ab030..1063fb439 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x @@ -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` diff --git a/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x b/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x index f3ca7035e..696752188 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x @@ -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` diff --git a/xCAT-server/share/xcat/install/scripts/post.sles10.s390x b/xCAT-server/share/xcat/install/scripts/post.sles10.s390x index 319f7f7bb..3902c8917 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles10.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.sles10.s390x @@ -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 diff --git a/xCAT-server/share/xcat/install/scripts/post.sles11.s390x b/xCAT-server/share/xcat/install/scripts/post.sles11.s390x index 176d17858..3e84ad99b 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles11.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.sles11.s390x @@ -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 diff --git a/xCAT-server/share/xcat/install/scripts/post.ubuntu b/xCAT-server/share/xcat/install/scripts/post.ubuntu index a118ff20b..b1709b23d 100644 --- a/xCAT-server/share/xcat/install/scripts/post.ubuntu +++ b/xCAT-server/share/xcat/install/scripts/post.ubuntu @@ -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 # diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index dd16fa716..fab6f89a0 100644 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -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`