iPXE discussion forum
Adding a command to iPXE? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Adding a command to iPXE? (/showthread.php?tid=7709)



Adding a command to iPXE? - summersab - 2015-04-27 20:08

Is there an easy way to add extra commands to iPXE? I'd really like to extend it in a few ways in order to provide more host data to boot scripts. Tcpdump is one of the commands I'd like to add. How difficult would this be to accomplish?


RE: Adding a command to iPXE? - NiKiZe - 2015-04-28 01:37

Depends of the functionality behind the command. It all needs to be re-implemented in the ipxe context which is quite specific.

tcpdump is quite complex. It almost always boils down to what you want to do, and the reason for it. maybe there is a better way?

Do you really need this in iPXE, or would for example an minimal linux do the same just as well?