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
This commit is contained in:
wanghuaz 2009-04-09 12:12:29 +00:00
parent 3d5c8c5d34
commit 4f0d05a184

View File

@ -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";