From 4f0d05a1845c622d9345c6991e2ad5b3c3d0720d Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 9 Apr 2009 12:12:29 +0000 Subject: [PATCH] xcataixpost didn't export PATH for /xcatpost, so if user run updatenode, compute node cannot run postscripts in /xcatpost successfully git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index f069772ab..12dd4b05e 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -166,7 +166,7 @@ if (-f $scriptname) $nodesetstat=`grep "NODESETSTATE=" $scriptname|awk -F \= '{print \$2}'`; chomp($nodesetstat); - + $ENV{PATH}="/xcatpost:$ENV{PATH}"; &runcmd("cd /xcatpost;$scriptname"); } else { print "$::sdate xcataixpost: Could not find post script for $::shorthost.\n";