Hi,
When I do the API call
You have to do the API call exec-status to get the result of the exec command.
The first calls works. As a result I get de pid back. But I do not understand the exec-status api call.
In the documentation exec-status it say its needs 3 parameters. But where does de {pid} parameter go ? The GET URL only shows a {node} and {vmid} parameter.
Gr. Robin
When I do the API call
HTTP:
POST /api2/json/nodes/{node}/qemu/{vmid}/agent/exec
You have to do the API call exec-status to get the result of the exec command.
HTML:
GET /api2/json/nodes/{node}/qemu/{vmid}/agent/exec-status
The first calls works. As a result I get de pid back. But I do not understand the exec-status api call.
In the documentation exec-status it say its needs 3 parameters. But where does de {pid} parameter go ? The GET URL only shows a {node} and {vmid} parameter.
Gr. Robin