[ipxe-devel] Passing parameters from PXELinux to iPXE

Geert Stappers stappers at stappers.nl
Fri Aug 7 20:20:09 UTC 2020


On Fri, Aug 07, 2020 at 09:43:11PM +0200, Robert Socha wrote:
> 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
> 

Why?


> 
> 
> 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
> 



> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo/ipxe-devel


-- 
Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the ipxe-devel mailing list