[ipxe-devel] ipxe writing in a UEFI variable

Michael Brown mcb30 at ipxe.org
Mon Nov 19 14:14:19 UTC 2018


On 19/11/2018 13:51, Tamas Baumgartner-Kis wrote:
> we trying to secure our network boot environment with UEFI secure boot. 
> Because of that we put kernel, initrd and cmdlin in one big file with 
> objcopy. Therefore we can't use ipxe for dynamically fill up some 
> cmdline parameter, for example ip=${net0/ip}
> 
> Is there a way to write the value of ip=${net0/ip} in a UEFI variable, 
> so that during boot the client don't have to do another DHCP handshake?

No, there is currently no capability within iPXE to read or write UEFI 
variables.  It could be added as a settings block mechanism (similar to 
the way that we handle e.g. VMware guestinfo settings), but it's not 
trivial.

Michael




More information about the ipxe-devel mailing list