This is an old revision of the document!
====== Pxeknife integretion with pxeknife ====== ===== Plan ===== provide pxe images/rom/nic with gpxe script embedded. This script will connect to pxeknife server to get boot loader. ===== Implementation ===== In file rom-o-matic/build.php the image is compiled by following command <code> make -C '$dir' '$target' </code> I have modified it to compile with embedded image by modifying above code with <code> make -C '$dir' EMBEDDED_IMAGE=./pxeDHCP.gpxe '$target' </code> the script //./pxeDHCP.gpxe// contains following code <code> #!gpxe echo "Hi, We will be using PXEKnife from URL http://www.alien.doesntexist.org/pxeknife" echo "It is assumed that you have dhcp networking" dhcp net0 set 209:string /pxeknife.cfg/default set 210:string http://www.alien.doesntexist.org/pxeknife/ echo "Here we go" chain http://www.alien.doesntexist.org/pxeknife/pxelinux.0 </code> The code is hosted at url [[http://www.alien.doesntexist.org/pxeknife/PHP/gpxe_generation/]] ===== Problems =====