Skip to main content

remote_reboot

Function remote_reboot 

Source
pub fn remote_reboot(
    runner: &dyn ProcessRunner,
    opts: &RemoteOptions,
) -> Result<()>
Expand description

Issue sudo reboot on the box (CLI: password on the terminal via Inherit).

ยงErrors

Returns crate::HortoError when SSH fails before reboot starts.