Re: Variable expansion of filename from DHCP server

"Miller, Shao" <[email protected]>
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
Good day Serge,

Uhh...  I realize that your e-mail was in regards to variable expansion
matters discussed in March, but did you realize that some of these
things are currently possible in gPXE, including sending the MAC
address?

A gPXE script could be, for example:

#!gpxe

# Grab IP parameters via DHCP
dhcp net0

# Pass various parameters to the web-server, who will generate another
# script for us, based on those parameters.  Boot the returned script.
chain
http://${next-server}/boot_gpxe.cgi?mac=${mac}&ip=${ip}&manu=${manufactu
rer:uristring}&model=${product:uristring}&serial=${serial:uristring}&ass
et=${smbios/3.8.0:uristring}&biosrev=${smbios/0.5.0:uristring}

- Shao Miller

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.