[pve-devel] way to get all vm configs?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Fri Dec 6 10:28:21 CET 2013


Am 06.12.2013 10:04, schrieb Stefan Priebe - Profihost AG:
> 
> Am 06.12.2013 10:00, schrieb Dietmar Maurer:
>>> mind you help me:
>>>
>>> something like:
>>> pvesh get /nodes/cloud1-1203/execute -commands ["a","b"]
>>>
>>> results in:
>>> commands: type check ('array') failed
>>
>> You cannot execute such command with pvesh (pvesh only handles string parameters)
>>
> ah OK thanks i wanted to use it for easy testing - ok won't work.


how should the URL look like?

GET
https://cloud1-1203.de-nserver.de:8006/api2/json/nodes/cloud1-1203/execute?commands={JSON
ENCODED STUFF}

sorry never used pve api with get and arrays.

Stefan


More information about the pve-devel mailing list