Pass the callback value to the writescript subroutine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1cdc58705b
commit
1514d5df31
@ -164,7 +164,7 @@ sub mknetboot {
|
||||
|
||||
# create the node-specific post scripts
|
||||
mkpath "/install/postscripts/";
|
||||
xCAT::Postage->writescript($node,"/install/postscripts/".$node, "netboot");
|
||||
xCAT::Postage->writescript($node,"/install/postscripts/".$node, "netboot", $callback);
|
||||
|
||||
mkpath("/$tftpdir/xcat/netboot/$osver/$arch/$profile/");
|
||||
#TODO: only copy if newer...
|
||||
@ -267,7 +267,7 @@ sub mkinstall {
|
||||
|
||||
# create the node-specific post scripts
|
||||
mkpath "/install/postscripts/";
|
||||
xCAT::Postage->writescript($node,"/install/postscripts/".$node, "install");
|
||||
xCAT::Postage->writescript($node,"/install/postscripts/".$node, "install", $callback);
|
||||
|
||||
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user