[syslinux] is substitution possible?

H. Peter Anvin hpa at zytor.com
Mon Mar 5 15:40:15 PST 2007


Wagner Ferenc wrote:
> Hi,
> 
> I'd like to write something like
> 
> append root=${NAME}-root
> 
> into PXELINUX's config file, that is, substitute the booting host's
> DHCP name into the kernel command line.  Since that would be the only
> varying part in the boot config of a bunch of machines, I'd rather not
> use separate config files for each.  Is there a way to somehow achive
> somehing like this?

Not in pxelinux, sorry.  You'd have to have support in the TFTP server, 
one way or another.  Another option, of course, is to build an initramfs 
to do that stuff for you.

	-hpa




More information about the Syslinux mailing list