[ipxe-devel] Passing parameters from PXELinux to iPXE

Robert Socha socha at socha.it
Fri Aug 7 19:43:11 UTC 2020


Hi,

This is more user-level question. But for last few days I'm unable to 
post question via forum.ipxe.org.

I wonder if this supported option (passing parameters from PXELinux to iPXE)


I have PXELinux boot:

LABEL startipxe
   KERNEL ipxe.lkrn
   APPEND set MYVAR some-data

And from chain loaded ipxe with embed script:

#!ipxe
echo MYVAR: ${MYVAR}
... other stuff



I was unable to make this work (PXElinux from Ubuntu 20.04 syslinux 
package).

I solved this for myself by some small hack in ipxe code.

But I wonder if this should works out of the box?

Best regards
-- 
Robert Socha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4038 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200807/6f80e191/attachment.p7s>


More information about the ipxe-devel mailing list