nuke: don't power-off machines when not rebooting
This ensures jobs that time out can still have their logs gathered.
@@ -314,6 +314,7 @@ def nuke_helper(ctx, should_unlock, keep_logs, should_reboot):
# we want to be able to nuke a downed node
check_lock.check_lock(ctx, None, check_up=False)
status = get_status(host)
+ if should_reboot:
if status['machine_type'] in provision.fog.get_types():
remote = Remote(host)
remote.console.power_off()
