fix writescript call

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-04-15 13:55:51 +00:00
parent 2152add071
commit a8119c9a36
2 changed files with 3 additions and 3 deletions

View File

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

View File

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