Hi Olivier,
Can you please update the following file in
http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar.bz2
by adding the code of generating the hex decimal?
./initrd_source/skel/etc/init.d/functions
[17:08] thumb: systemimager-4.3.0 $ diff -Naur
initrd_source/skel/etc/init.d/functions{,.new}
--- initrd_source/skel/etc/init.d/functions 2013-06-13 04:07:49.000000000
-0400
+++ initrd_source/skel/etc/init.d/functions.new 2014-06-27 17:08:39.454084355
-0400
@@ -1404,6 +1404,16 @@
chroot /a/ /tmp/post-install/$POST_INSTALL_SCRIPT ||
shellout
fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print $2}' | awk -F":"
'{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++) printf "%02X", d[i]}'
+ echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex /tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi
Regards,
--
- DongInn
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel