diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-04-30 12:14:41 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-22 09:04:59 +0800 |
commit | 9073914cfe15b2c81a6cdd5988fbfdfe817e797a (patch) | |
tree | 8861ebdc26a55950152e02c315e7e3146117ee54 /ui/ncurses/nc-config-help.c | |
parent | e0707ec2d66000a5de8ce6caf03fd8651a4bd916 (diff) | |
download | talos-petitboot-9073914cfe15b2c81a6cdd5988fbfdfe817e797a.tar.gz talos-petitboot-9073914cfe15b2c81a6cdd5988fbfdfe817e797a.zip |
ui/ncurses: Expose boot_device configuration through UI
Add a configuration setting for the default boot device.
We change the autoboot option to a select, as we have three possible
behaviours for autoboot:
( ) Don't autoboot
( ) Autoboot from any disk/network device
( ) Only autoboot from a specific disk/network device
The latter option will show a list of possible devices to seelct for
autoboot behaviour.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-config-help.c')
-rw-r--r-- | ui/ncurses/nc-config-help.c | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/ui/ncurses/nc-config-help.c b/ui/ncurses/nc-config-help.c index 90565b2..828fce7 100644 --- a/ui/ncurses/nc-config-help.c +++ b/ui/ncurses/nc-config-help.c @@ -1,11 +1,25 @@ const char *config_help_text = "\ -Autoboot: If you select this option, Petitboot will automatically choose the \ -default option shown in the main menu. Use this option if you want to quickly \ -boot your system without changing any boot option settings.\n" +Autoboot: There are three possible options for automatic-boot hehaviour:\n" +"\n" +"Don't autoboot: boot options will be listed in the petitboot menu, but none \ +will be booted automatically. User interaction will be required to continue \ +past the petitboot menu. Use this option if you want the machine to wait for \ +an explicit boot selection, or want to interact with petitboot before \ +booting the system\n" +"\n" +"Autoboot from any disk/network device: any boot option that is marked as a \ +default (by bootloader configuration) will be booted automatically after a \ +timeout. Use this option if you want to quickly boot your system without \ +changing any boot option settings. This is the typical configuration.\n" +"\n" +"Autoboot from a specific disk/network device: only boot options \ +from a single device (specifed here) will be booted automatically after a \ +timeout. Use this option if you have multiple operating system images \ +installed.\n" "\n" "Timeout: Specify the length of time, in seconds, that the main menu will be \ -displayed before the first option on the main menu is started by default. \ -Timeout is applied only if the Autoboot option is selected.\n" +displayed before the default boot option is started. This option is only \ +displayed if autoboot is enabled.\n" "\n" "Network options:\n" "\n" |