Skip to main content

Module reboot

Module reboot 

Source
Expand description

Remote box reboot helpers.

Functionsยง

finish_remote_reboot
offer_remote_reboot
Prompt on a local TTY, then sudo reboot on the box. Non-TTY prints a reminder.
remote_reboot
Issue sudo reboot on the box (CLI: password on the terminal via Inherit).
remote_reboot_with_sudo_password
Issue sudo reboot using a sudo password already collected by the UI.
ssh_drop_after_reboot
wants_reboot_now
Whether a reboot prompt answer means reboot now.