[ipxe-devel] Command line disabled when embedding a script
Michael Brown
mbrown at fensystems.co.uk
Thu May 26 23:49:12 UTC 2011
On Thursday 26 May 2011 16:19:04 Sven Dreyer wrote:
> I asked myself whether this could be configurable via a DHCP option, like:
>
> option ipxe.no-prompt code XXX = unsigned integer 8;
>
> For specific hosts, I then could set:
>
> option ipxe.no-prompt 1;
>
> in the host's section of my dhcpd.conf.
>
> This way I could avoid to embed a script into iPXE.
Unfortunately this violates causality. The Ctrl-B prompt is displayed before
the DHCP request is made.
(If you use the "prompt" command in an embedded script, you could choose to
display it only after the DHCP request, if you wanted.)
Michael
More information about the ipxe-devel
mailing list