diff --git a/run.py b/run.py index f48057c..c2bede9 100755 --- a/run.py +++ b/run.py @@ -1172,8 +1172,8 @@ def setup_client(pool): global vm_ready global serverproc if config["core"]["server"] == "Hyper-V": - run_cmd("Start-VM -Name Jukebox*") # any and all VMs starting with "Jukebox" - + run_cmd("Restart-VM -Name Jukebox*") # any and all VMs starting with "Jukebox" + sleep(2) fprint("Waiting for VM to start...") while not ping("192.168.1.25"): sleep(0.25) @@ -1221,7 +1221,7 @@ def setup_client(pool): firefox.close() jb.terminate() - #run_cmd("Stop-VM -Name Jukebox*") + run_cmd("Stop-VM -Name Jukebox*") sleep(2) killall()