[pve-devel] configure qemu vm args with api interface

Dietmar Maurer dietmar at proxmox.com
Thu Jun 26 09:45:29 CEST 2014


> I found the possibility in the api documentation to change the args parameters
> by using  /api2/json/nodes/{node}/qemu/{vmid}/config.
> But I already get an exception, that only root can change args. I don't like to run
> my program with root privileges to change the config of one vm.
> 
> Net::HTTPFatalError - 500 "only root can set 'args' config"
> 
> Is there any possibility to change the args with an other user account?

No, that is not possible for security reasons.

But I guess in future we could allow/add an 'uuid' option in the config file.





More information about the pve-devel mailing list