support arguments for postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
384a4a1f6a
commit
f871ecbdad
@ -368,11 +368,12 @@ sub preprocess_updatenode
|
||||
|
||||
foreach (@posts)
|
||||
{
|
||||
if (!-e "$installdir/postscripts/$_")
|
||||
my @aa=split(' ', $_);
|
||||
if (!-e "$installdir/postscripts/$aa[0]")
|
||||
{
|
||||
my $rsp = {};
|
||||
$rsp->{data}->[0] =
|
||||
"The postcript $installdir/postscripts/$_ does not exist.";
|
||||
"The postcript $installdir/postscripts/$aa[0] does not exist.";
|
||||
$callback->($rsp);
|
||||
return \@requests;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user