Accept exit code `0` in `server.reboot` operation.
@@ -42,7 +42,7 @@ def reboot(delay=10, interval=1, reboot_timeout=300, state=None, host=None):
)
'''
- yield StringCommand('reboot', success_exit_codes=[-1]) # -1 being error/disconnected
+ yield StringCommand('reboot', success_exit_codes=[0, -1]) # -1 being error/disconnected
def wait_and_reconnect(state, host): # pragma: no cover
sleep(delay)
