API method for executing shell commands?

  • Thread starter Thread starter Ninjix
  • Start date Start date
N

Ninjix

Guest
Is there an PVE 2.0 API method for executing shell commands? What I am after is a way to copy KVM disk images during the provisioning of new machines. Right now I have a python script that is using SSH to accomplish this action but if there was way to do it via the beautiful 2.0 API that would be awesome.
 
Is there an PVE 2.0 API method for executing shell commands?

No. Because ssh does a better job on that ;-)

What I am after is a way to copy KVM disk images during the provisioning of new machines.

There is the backup/restore API. But I don't really have an idea what you do exactly.