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

2021-04-23 Thread Matteo Guglielmi
Just for the record, thanks to Michael the read function is now patched and this is a working snippet that makes use of it (the || operator after the read function is necessary to avoid script failures when the timeout occurs): set menu-timeout 1000 set read-timeout 1000 set menu-default

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

2021-04-23 Thread Michael Brown
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

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

2021-04-23 Thread Matteo Guglielmi
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} Thank you.