[ipxe-devel] Allow user to edit a kernel command line before booting with a read timeout

Michael Brown mcb30 at ipxe.org
Fri Apr 23 11:43:33 UTC 2021


On 23/04/2021 11:46, Matteo Guglielmi wrote:
> Would it be possible to ask for a read --timeout option
> in order to automate the following script (unattended
> boot)?
> 
> set cmdline selinux=0 console=ttyS0,115200n8 console=tty0
> echo -n Kernel command line: ${}
> read --timeout 5 cmdline
> chain http://my.web.server/vmlinuz ${cmdline}

Done:

   https://github.com/ipxe/ipxe/commit/b2501dd12
   https://github.com/ipxe/ipxe/commit/323af9ee8

The timeout is in milliseconds (for consistency with all other iPXE 
--timeout options).

Michael



More information about the ipxe-devel mailing list