From 1514d5df315b1660406aa281b90b4d435becf357 Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 23 Apr 2008 17:27:55 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/lib/xcat/plugins/anaconda.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (