summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-add-url-help.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2014-07-24 15:05:39 +1000
committerJeremy Kerr <jk@ozlabs.org>2014-07-28 16:12:13 +0800
commit254c2c4233377ba71d0f1c96a77d885c91f9ad4a (patch)
treef6e79dbeba93f7709be8a9a261dd101be73bbd03 /ui/ncurses/nc-add-url-help.c
parent0f5d4481891467000c50bf14548c236cfb3e70ad (diff)
downloadtalos-petitboot-254c2c4233377ba71d0f1c96a77d885c91f9ad4a.tar.gz
talos-petitboot-254c2c4233377ba71d0f1c96a77d885c91f9ad4a.zip
ui/ncurses: Add support for 'add-url' action
Creates a menu option to specify a remote conf file url to send to the server for parsing. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-add-url-help.c')
-rw-r--r--ui/ncurses/nc-add-url-help.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/ncurses/nc-add-url-help.c b/ui/ncurses/nc-add-url-help.c
new file mode 100644
index 0000000..cc78fd0
--- /dev/null
+++ b/ui/ncurses/nc-add-url-help.c
@@ -0,0 +1,8 @@
+#include "nc-helpscreen.h"
+
+struct help_text add_url_help_text = define_help_text("\
+Supply a valid URL here to retrieve a remote boot config file, \
+(eg: petitboot.conf) and parse it.\n\
+\n\
+URLs are of the form 'scheme://host/path/to/petitboot.conf', \
+such as tftp://host/petitboot.conf or http://host/petitboot.conf");
OpenPOWER on IntegriCloud