[PVE-User] setting NET config via API

Guy guy at britewhite.net
Tue Jul 16 07:00:07 CEST 2013


Yes that fixed it... Thanks very much once again... I was pulling my hair out trying to get this working again (Not that I have much hair to start with).


On 16 Jul 2013, at 05:29, Dietmar Maurer <dietmar at proxmox.com> wrote:

>> however if I try the same via CURL..
>> 
>> curl -s -k -XPOST -H 'CSRFPreventionToken:$CSRFPreventionToken'
>> '$host/api2/json/nodes/proxmox02/qemu/20011/config' -b
>> 'PVEAuthCookie=$key' -d 'net0=e1000,bridge=vmbr20'
> 
> IDoes it work if you use:
> 
> --data-urlencode 'net0=e1000,bridge=vmbr20'
> 
> 




More information about the pve-user mailing list