API & CLI to reboot a host immediately when setting a configuration
ggiamarchi opened this issue · 0 comments
ggiamarchi commented
A common use case with PXE Pilot is to deploy a configuration for a host that launch an operating system installer. Most of the time, when doing that we want to reboot the machine immediately. Currently, those two steps can't be done with a single command. Using the CLI, we have to run
pxe-pilot config deploy CONFIG HOST
and then,
pxe-pilot host reboot HOST
It would be great to do it in one line using the option --now
or --reboot
on config deploy
command
pxe-pilot config deploy --now CONFIG HOST