Do not check existence of postscripts with start-here

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-10-15 12:58:02 +00:00
parent ac86a05cda
commit ad5379756b

View File

@ -442,6 +442,10 @@ sub preprocess_updatenode
}
# handle the validity of postscripts
# check to see if they exist except for the internal xCAT
# postscripts-start-here,postbootscripts-start-here,
# defaults-postbootscripts-start-here, osimage-postbootscripts-start-here,
# etc
if (defined($::RERUNPS))
{
if ($::RERUNPS eq "")
@ -452,9 +456,9 @@ sub preprocess_updatenode
{
$postscripts = $::RERUNPS;
my @posts = split(',', $postscripts);
foreach (@posts)
{
if (!grep(/start-here/, @posts)) {
foreach (@posts)
{
my @aa = split(' ', $_);
if (!-e "$installdir/postscripts/$aa[0]")
{
@ -464,8 +468,9 @@ sub preprocess_updatenode
$callback->($rsp);
return;
}
}
}
}
}
}
# If -F or -f option specified, sync files to the noderange or their