To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5a395d4da6
commit
0dcf2e1e9c
@ -926,17 +926,14 @@ sub updatenode
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
|
||||
}
|
||||
#$cmd="cd $postscripts;tar -czf $postscripts.tgz ."; #print "cmd:$cmd\n";
|
||||
#xCAT::Utils->runcmd($cmd, 0);
|
||||
#$rsp = {};
|
||||
#if ($::RUNCMD_RC != 0)
|
||||
#{
|
||||
# $rsp->{data}->[0] = "$cmd failed.\n";
|
||||
# xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
#}
|
||||
|
||||
}
|
||||
|
||||
#if precreatemypostscripts=1, create each mypostscript for each node
|
||||
require xCAT::Postage;
|
||||
xCAT::Postage::create_mypostscript_or_not($request, $callback, $subreq);
|
||||
|
||||
|
||||
# convert the hashes back to the way they were passed in
|
||||
my $flatreq = xCAT::InstUtils->restore_request($request, $callback);
|
||||
my $imgdefs;
|
||||
|
Loading…
Reference in New Issue
Block a user