Compare commits
2 Commits
a891109ee9
...
32b1fcec58
| Author | SHA1 | Date | |
|---|---|---|---|
| 32b1fcec58 | |||
| c87bb16f10 |
@@ -152,7 +152,7 @@ jobs:
|
||||
while time.time() < deadline:
|
||||
tries += 1
|
||||
try:
|
||||
res = api_request("GET", f"/api2/json/nodes/{target_node}/qemu/{vmid}/agent/ping")
|
||||
res = api_request("POST", f"/api2/json/nodes/{target_node}/qemu/{vmid}/agent/ping")
|
||||
if res.get("data") == "pong":
|
||||
print(f"Guest agent ready for vmid {vmid}", flush=True)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user