[ipxe-devel] Chainloading from iPXE to other PXE servers

Michael Brown mbrown at fensystems.co.uk
Fri Mar 25 21:21:53 UTC 2011


On Friday 25 Mar 2011 21:19:40 Michael Brown wrote:
> > Alternately, we may be able to solve *most* of this problem if we could
> > use iPXE variables (i.e. ${hostname}, ${mac}) inside of vesamenu.c32, so
> > that pointing at things like our FOG server (which generates MAC-specific
> > pxelinux.cfg files to perform 'tasks') could be done in a dynamic
> > fashion.
> >
> > If there's a way to do either of these, please let me know.
> 
> There isn't yet, but it sounds useful.  We currently perform settings
> expansion when parsing the DHCP-provided filename and root-path.  We could
> pretty easily also expand filenames received via the PXE FILE API.  Could
>  you try the attached (untested) patch, and see if it does what you need?

I should read my own code before sending it.  There was a missing call to 
free().  Modified patch attached.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-expand-pxe-file.patch
Type: text/x-patch
Size: 1478 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20110325/ef7646c2/attachment.bin>


More information about the ipxe-devel mailing list