[syslinux] Availability of a variable of the TFTP server IP address to be used in pxelinux.cfg/default

STEFFENS, Michael Michael.STEFFENS at newellco.com
Thu Mar 25 11:39:22 PDT 2010


Hello,
I'm new to Linux and quite inexperienced - sorry.

I set up about 20 PXE servers with several tools as different boot
images.
Two of the tools require files to be loaded from the TFTP after the
kernel has loaded.

Currently I do the following in pxelinux.cfg/default:

label abc
  kernel def
  append TFTP://2.3.4.5/xyz

My PXE boot images are set on one master server and from there
automatically replicated to all remote PXE/TFTP servers.
For the two images where I have to load files from the TFTP server I
have to set the IP address (2.3.4.5 in the example above) for every
server manually and I have to copy all the images for each server
manually because all my 20 PXE/TFTP servers have different IP addresses.

Now the question:
pxelinux knows the address of the current TFTP server.
Is there a variable/placeholder that can be used in pxelinux.cfg/default
that will automatically pass the current TFTP server address to the
booted Linux OS so I can use ONE image for all my servers?

For the example above I would like to replace the 2.3.4.5 with a
variable.
label abc
  kernel def
  append TFTP://[iAmTheIpAddressOfTheTftpServer]/xyz

Is that possible? Is there something predefined in pxelinux.0?


Thanks,
Michael

This message may contain information that is confidential and/or protected by law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or communication of this message is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete the message. Please note that although we will take all commercially reasonable efforts to prevent viruses from being transmitted from our systems, it is the responsibility of the recipient to check for and prevent adverse action by viruses on its own systems.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




More information about the Syslinux mailing list