-Fix genimage to do diskless node customization and setup of hostname under SLES10

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-05-27 21:11:56 +00:00
parent 753d6db75e
commit f085da22aa

View File

@ -500,6 +500,8 @@ sub generic_post { #This function is meant to leave the image in a state approxi
print $cfgfile " init q\n";
print $cfgfile " fi\n";
print $cfgfile "done\n";
print $cfgfile "/etc/init.d/boot.localnet start\n";
print $cfgfile "/opt/xcat/xcatdsklspost\n";
close($cfgfile);
chmod(0755,"$installroot/netboot/$osver/$arch/$profile/rootimg/etc/init.d/gettyset");
#link("$installroot/netboot/$osver/$arch/$profile/rootimg/sbin/init","$installroot/netboot/$osver/$arch/$profile/rootimg/init");