diff --git a/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm b/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm index 65c3dfe2d..7df3f3330 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm @@ -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 (