[syslinux] Prompting the user for input in the PXE boot menu?
Samuli Seppänen
samuli.seppanen at gmail.com
Mon Apr 10 03:07:38 PDT 2017
On 10/04/2017 13:05, Ferenc Wágner wrote:
> Samuli Seppänen via Syslinux <syslinux at zytor.com> writes:
>
>> I tried LUA scripting, but the syslinux implementation of LUA seemed to
>> be missing input support.
>
> What version did you try? This works for me:
>
> boot: lua
> Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
>> s = io.read ("*l")
> foobar
>> print (s)
> foobar
>
> Input support is indeed limited, but should be sufficient for this.
>
I used what was bundled in CentOS 7. I will try again with a more
up-to-date version and report back.
Thanks!
Samuli
More information about the Syslinux
mailing list