diff --git a/.gitea/workflows/terraform-apply.yml b/.gitea/workflows/terraform-apply.yml index fdd213e..7684db6 100644 --- a/.gitea/workflows/terraform-apply.yml +++ b/.gitea/workflows/terraform-apply.yml @@ -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