iPXE discussion forum
chain http://server/pxelinux.0 with label as argument? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: chain http://server/pxelinux.0 with label as argument? (/showthread.php?tid=5446)



chain http://server/pxelinux.0 with label as argument? - Torgeir - 2012-09-18 12:05

I see that chain supports arguments? Is it possible to something like this?

Load pxelinux and send label linux as an argument, or possibly with other arguments after that?

Code:
#!ipxe

dhcp
chain http://server/pxelinux.0 linux


Torgeir


RE: chain http://server/pxelinux.0 with label as argument? - robinsmidsrod - 2012-09-18 12:29

The "linux" param from your example above will just be passed as the command line to the program being loaded. If it is a linux kernel, it is what will go into /proc/cmdline. I'm not sure if pxelinux.0 supports being given arguments this way.