mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	add postscript support for redhat statelite mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1053,6 +1053,12 @@ sub generic_post { #This function is meant to leave the image in a state approxi | ||||
|    close($cfgfile); | ||||
|    chmod(0755,"$rootimg_dir/etc/rc3.d/S60gettyset"); | ||||
|    #link("$rootimg_dir/sbin/init","$rootimg_dir/init"); | ||||
|     #add postscript support for redhat | ||||
|    if($mode eq "statelite") { | ||||
|         print $cfgfile "/opt/xcat/xcatdsklspost 4\n"; | ||||
|    } else { | ||||
|         print $cfgfile "/opt/xcat/xcatdsklspost\n"; | ||||
|    } | ||||
|     | ||||
|    rename(<$rootimg_dir/boot/vmlinuz*>,"$destdir/kernel"); }  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user