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:
nott 2008-04-23 17:27:55 +00:00
parent 1cdc58705b
commit 1514d5df31

View File

@ -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 (