everything that can be done via CLI/GUI can of course also be done using the API. In this case, you'd probably want the /nodes/{node}/qemu/{vmid}/agent/exec endpoint.
With that, you can send the above command to the VM via the API.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.