From caaa516fa211d64e87fe4eaecacafbae749e2e53 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Mon, 1 Mar 2010 02:18:05 +0000 Subject: [PATCH] -bug #2952723 is fixed; git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/rh/genimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index a4c376cb2..5f27fec95 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -1050,7 +1050,6 @@ sub generic_post { #This function is meant to leave the image in a state approxi print $cfgfile " fi\n"; print $cfgfile " fi\n"; print $cfgfile "done\n"; - close($cfgfile); chmod(0755,"$rootimg_dir/etc/rc3.d/S60gettyset"); #link("$rootimg_dir/sbin/init","$rootimg_dir/init"); #add postscript support for redhat @@ -1059,6 +1058,7 @@ sub generic_post { #This function is meant to leave the image in a state approxi } else { print $cfgfile "/opt/xcat/xcatdsklspost\n"; } + close($cfgfile); rename(<$rootimg_dir/boot/vmlinuz*>,"$destdir/kernel"); }