iPXE discussion forum
Hi, I wonder if this supporeted option (passing parametres from PXELinux to ipxe) - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Hi, I wonder if this supporeted option (passing parametres from PXELinux to ipxe) (/showthread.php?tid=26530)



Hi, I wonder if this supporeted option (passing parametres from PXELinux to ipxe) - rjsocha - 2020-08-07 20:26

Hi,

I wonder if this supporeted option (passing parametres from PXELinux to ipxe)


I have PXELinux boot:

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

And from chainloaded 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