summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui-help.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2018-07-03 16:34:47 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-07-10 13:46:12 +1000
commit99a1f905f585480cca2c9a43ab18ed8e37365192 (patch)
tree9839c5ce9a791cd206388f81d3a844ba82965ff7 /ui/ncurses/nc-cui-help.c
parent47c55b245aab729a9c23bfb830329022c7b25d83 (diff)
downloadtalos-petitboot-99a1f905f585480cca2c9a43ab18ed8e37365192.tar.gz
talos-petitboot-99a1f905f585480cca2c9a43ab18ed8e37365192.zip
ui/ncurses: Implement F10-F12 for autoboot device control
Add a few mappings to specify temporary autoboot settings: F10: Only autoboot from disk F11: Only autoboot from USB devices F12: Only autoboot from network These use the new code to prevent cancelling autoboot. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-cui-help.c')
-rw-r--r--ui/ncurses/nc-cui-help.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui-help.c b/ui/ncurses/nc-cui-help.c
index 7d97ba5..0e57b77 100644
--- a/ui/ncurses/nc-cui-help.c
+++ b/ui/ncurses/nc-cui-help.c
@@ -26,5 +26,14 @@ option.\n\
To retreive new boot options from a remote configuration file, select \
the 'Retrieve config from URL' option.\n\
\n\
+To restrict petitboot to only autobooting from a specific device type, the \
+following keys are available:\n\
+\n\
+ F10: Only autoboot from disk\n\
+ F11: Only autoboot from USB devices\n\
+ F12: Only autoboot from network\n\
+\n\
+Unlike other keys, these do not cancel automatic boot.\n\
+\n\
To close the Petitboot interface, type X (exit).\n"
);
OpenPOWER on IntegriCloud