[syslinux] Building a http query string including SMBIOS Serial Number to load a specific kernel
H. Peter Anvin
hpa at zytor.com
Wed Mar 2 14:24:10 PST 2016
On 02/19/16 12:07, Leandro Becker via Syslinux wrote:
> Hello folks,
>
> There is a way to get the system serial number from SMBIOS and pass it
> as HTTP query string to get the kernel and initrd?
> Something like this:
>
> LABEL OS Download
> MENU LABEL Clonezilla
> MENU INDENT 1
> KERNEL http://192.168.10.10/kernel.php?type=kernel (
> http://myserver/kernel.php?SN=SMBIOS_SERIAL_NUMBER&type=kernel
> )&SN=SMBIOS_SERIAL_NUMBER
> APPEND
> initrd=http://192.168.10.10/kernel.php?type=initrd&SN=SMBIOS_SERIAL_NUMBER
> boot=live ...
>
> I found that SYSAPPEND is able to get info from SMBIOS, but there is a
> way to accomplish what I'm trying to do, i.e. replace
> SMBIOS_SERIAL_NUMBER somehow with the real serial number?
> Maybe Menu.c32 have a feature to do something like this?
>
We already pass this information as http cookies.
-hpa
More information about the Syslinux
mailing list