[syslinux] Need solution to use environment variable

Izmalkov, Vladimir vladimir.izmalkov at sap.com
Fri Jan 24 03:49:07 PST 2014


Hello All.

I need make one configuration for many PXE servers. All of them has different IP`s.

Will be best is somehow in menu will be possible to have environment variable with server ip.
Example:

Pxelinux.cfg\Default

UI vesamenu.c32
MENU INCLUDE pxelinux.cfg/graphics.conf
MENU INCLUDE pxelinux.cfg/server.menu
..
Skip 
..
label default
        MENU LABEL ^Custom ISO
        COM32 cmd.c32
        APPEND KERNEL http://SName/sources/common/pxe/memdisk iso raw initrd http://SName/sources/iso/CustomPE/Custom.iso (not working)

Pxelinux.cfg\server.menu
LABEL SName
10.55.98.127 

Using pxelinux 6.02

Thanks a lot for any help !!!! 



Thanks. 
Vladimir Izmalkov 



More information about the Syslinux mailing list