summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-04-22 14:20:49 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-05-06 13:57:30 +1000
commit81f28af2bd94cc552aef1a7b959e4c6b84457ce7 (patch)
tree2addc5a78c0f094a2f3080e95fc657ccdfdbc1f0 /utils
parente544283809454252c2c2d3148492362ad10643ba (diff)
downloadtalos-petitboot-81f28af2bd94cc552aef1a7b959e4c6b84457ce7.tar.gz
talos-petitboot-81f28af2bd94cc552aef1a7b959e4c6b84457ce7.zip
pb-event: Add 'boot' user event
Add a user event to send a boot command to the discover server. The format of the boot command is similar to the add command, eg: pb-event boot@eth0 image="http://host/image" initrd="http://host/initrd" and also recognises "id", "dtb", and "args" arguments. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/pb-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pb-event.c b/utils/pb-event.c
index a1affe5..572eb16 100644
--- a/utils/pb-event.c
+++ b/utils/pb-event.c
@@ -55,7 +55,7 @@ static void print_usage(void)
" Events can be read from stdin, or provided on the command line.\n"
" User events must have the following format:\n"
"\n"
-" (add|remove)@device-id [name=value] [image=value] [args=value]\n"
+" (add|remove|boot)@device-id [name=value] [image=value] [args=value]\n"
"\n"
" When read from stdin, components are separated by NUL chars\n"
"\n"
OpenPOWER on IntegriCloud