Skip to content

Commit

Permalink
Start VMs that were stopped on the proxy host
Browse files Browse the repository at this point in the history
  • Loading branch information
remibergsma committed Oct 24, 2023
1 parent d1dd141 commit 2c75ff6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rolling_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ def main(profile, ignore_hosts, only_hosts, skip_os_version, reboot_action, pre_
(_, _, failed) = proxy_host.empty(target=host)
if failed == 0:
break
proxy_host.restart_vms_with_shutdown_policy()

logging.info(f"Host '{host['name']}' is done. It should now have the same VMs as before", log_to_slack)

target_host = host
Expand Down

0 comments on commit 2c75ff6

Please sign in to comment.