Perhaps I missed something but I can't find anything comparable to "vzctl exec" in the API documentation. Is it not intended to execute commands directly in the openvz containers via the API and is there some other approach?
It would be nice to have something like:
create /nodes/{node}/openvz/{vmid}/exec "command"
which returns the exitcode and stdout/stderr
Of course it would not make sense for interactive commandline operations but it would be very helpful for the noninteractive ones.
It would be nice to have something like:
create /nodes/{node}/openvz/{vmid}/exec "command"
which returns the exitcode and stdout/stderr
Of course it would not make sense for interactive commandline operations but it would be very helpful for the noninteractive ones.
Last edited: