diff --git a/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm b/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm index 5d6958e3b..ef2d83a0f 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/anaconda.pm @@ -161,7 +161,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"); mkpath("/$tftpdir/xcat/netboot/$osver/$arch/$profile/"); #TODO: only copy if newer... @@ -264,7 +264,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"); if ( diff --git a/xCAT-server-2.0/lib/xcat/plugins/sles.pm b/xCAT-server-2.0/lib/xcat/plugins/sles.pm index 9a28db0ed..72071aef4 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/sles.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/sles.pm @@ -133,7 +133,7 @@ sub mkinstall # create the node-specific post script mkpath "/install/postscripts/"; - xCAT::Postage->writescript($node, "/install/postscripts/" . $node); #, "install"); + xCAT::Postage->writescript($node, "/install/postscripts/".$node, "install"); if ( (