Hi All, A while back there was some mention that gpxe may acquire the ability to receive command-line parameters. I'd dearly love if this could become a reality. It would be fantastic if we could have a pxelinux menu config as follows: KERNEL gpxelinux.0 APPEND config http://someserver.net/gpxe-for-this-box.cfg This would solve a huge number of our problems since we don't have the ability to control our DHCP server configurations to avoid the "breaking the infintie loop" issue. See: http://www.etherboot.org/wiki/pxechaining#breaking_the_infinite_loop Is this the best forum to gently nudge in this direction or do I also need to prod the etherboot good people too ? I'm afraid I don't have the low level coding skills to contribute much other than my heartfelt thanks for pxelinux and friends. Cheers, Doug -- The big print giveth and the small print taketh away.
Doug Scoular wrote:> > This would solve a huge number of our problems since we > don't have the ability to control our DHCP server configurations > to avoid the "breaking the infintie loop" issue. See: > > http://www.etherboot.org/wiki/pxechaining#breaking_the_infinite_loop > > Is this the best forum to gently nudge in this direction or do I also > need to prod the etherboot good people too ? >You don't need to do that anymore. First of all, if you simply use gpxelinux.0 instead of pxelinux.0, you don't have an infinite loop to break. Second, if that still isn't sufficient, gPXE supports "embedded scripts", which is a really powerful facility; it can be used to do these kinds of things and much more. -hpa
Hi Peter,> You don't need to do that anymore. > > First of all, if you simply use gpxelinux.0 instead of pxelinux.0, you > don't have an infinite loop to break.I thought gpxelinux.0 (3.71) still had problems with chain booting other network boot programs. Has this changed or can I use gpxelinux.0 in production environments everywhere that I would pxelinux.0 ?> Second, if that still isn't sufficient, gPXE supports "embedded > scripts", which is a really powerful facility; it can be used to do > these kinds of things and much more.I'm not sure what you mean by "embedded scripts" do you mean the EMBEDDED_IMAGE definition in the gpxe Makefile to hard-code a url to a script ? Is this specific to gpxe or does gpxelinux also have this feature. Apologies for being more than a little confused. I would still dearly love to be able to somehow pass a URL with the clients MAC or UUID embedded in it. Cheers, Doug -- The big print giveth and the small print taketh away.
Hi Peter, I was playing around with the slitaz mini distro when I stumbled upon the fact that they are now offering web booting via gpxe. Their grub config has the following invocation: # gPXE title gPXE (Boot from the Web) kernel /boot/gpxe url=http://mirror.slitaz.org/pxe/pxelinux.0 Which is almost exactly what I would like to be able to do. Apparently they hand wrote the patch themselves at: http://hg.slitaz.org/wok/raw-file/fea5060f74cd/gpxe/stuff/default_boot.u I just wondered if you or the etherboot people were interested in incorporating this patch ? This may also give us the ability to pass the MAC address via IPAPPEND2 if there were some way of quoting it in the url. Anyway, just some random thoughts... Cheers, Doug -- The big print giveth and the small print taketh away.
Doug Scoular wrote:> Hi Peter, > I was playing around with the slitaz mini distro when I > stumbled upon the fact that they are now offering web > booting via gpxe. Their grub config has the following > invocation: > > # gPXE > title gPXE (Boot from the Web) > kernel /boot/gpxe url=http://mirror.slitaz.org/pxe/pxelinux.0 > > Which is almost exactly what I would like to be able to do. > Apparently they hand wrote the patch themselves at: > > http://hg.slitaz.org/wok/raw-file/fea5060f74cd/gpxe/stuff/default_boot.uA lot of that is just stuff from the upstream git. However, the idea is good. I will talk to the gPXE people about it. -hpa