diff --git a/run.py b/run.py index d120d1c..b738029 100755 --- a/run.py +++ b/run.py @@ -955,21 +955,9 @@ def setup_client(pool): if config["core"]["server"] == "Hyper-V": run_cmd("Start-VM -Name Jukebox*") # any and all VMs starting with "Jukebox" - # Wait for VM to start and be reachable over the network - serverproc = Process(target=start_client_socket) - serverproc.start() - - pool.apply_async(check_server_online, (config["core"]["serverip"],config["core"]["clientip"]), callback=vm_start_callback) - - #wait_for(vm_ready, "VM Startup") - - #global vm_ready - if vm_ready is False: - fprint("waiting for " + "VM Startup" + " to complete...") - while vm_ready is False: - sleep(0.1) + sleep(20) p.terminate() - firefox.get("http://" + config["core"]["serverip"] + ":8000") + firefox.get('http://192.168.1.25:3000') return True