Function juju::reboot [] [src]

pub fn reboot() -> Result<i32, JujuError>

This will reboot your juju instance. Examples of using this are when a new kernel is installed and the virtual machine or server needs to be rebooted to use it.

Failures

Returns stderr if the reboot command fails