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

Christian Fröstl christian.froestl at nubon.com
Thu Jun 26 09:51:09 CEST 2014


Hi,

That would be great, because you can change all other parameter which can
corrupt the pve cluster as well.
If you like, a new user role for setting args would be great.

Thanks,
Christian

Am 26.06.14 09:45 schrieb "Dietmar Maurer" unter <dietmar at proxmox.com>:

>> 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