mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	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:
		@@ -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 (
 | 
			
		||||
 
 | 
			
		||||
@@ -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 (
 | 
			
		||||
            (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user