Re: [pve-devel] New API endpoint to manage snippets / bugzilla 2208 / updated patch but missing something, need help

2022-04-11 Thread Laurent GUERBY
On Mon, 2022-04-11 at 11:03 +0200, Matthias Heiserer wrote: > Hi, > > please take a look at our developer documentation. > https://pve.proxmox.com/wiki/Developer_Documentation > > Using `git format-patch` makes applying the changes a whole lot > easier :) > > As far as I can tell from a quick te

Re: [pve-devel] New API endpoint to manage snippets / bugzilla 2208 / updated patch but missing something, need help

2022-04-11 Thread Matthias Heiserer
Hi, please take a look at our developer documentation. https://pve.proxmox.com/wiki/Developer_Documentation Using `git format-patch` makes applying the changes a whole lot easier :) As far as I can tell from a quick test, your changes seem to work. Would you mind using `pvesh create` to test?

Re: [pve-devel] New API endpoint to manage snippets / bugzilla 2208 / updated patch but missing something, need help

2022-04-08 Thread Laurent GUERBY
> Hi, > > I've tried to adapt the patch to current PVE 7.1-12 (see below) but I > still get > > proxmoxer.core.ResourceException: 501 Not Implemented: upload failed > - > {'errors': b''} > > When I try to upload a snippet. > > My proxmoxer setup works for iso, the following succeeds: > > proxm

Re: [pve-devel] New API endpoint to manage snippets / bugzilla 2208 / updated patch but missing something, need help

2022-04-08 Thread Laurent GUERBY
On Thu, 2022-04-07 at 12:27 +0200, Patryk Ściborek wrote: > Hi Guys! > > I'm using Terraform to manage VMs running on Proxmox. I need to be > able to > upload snippets with custom cloud-init configuration. Right now I > have to > use scp/sftp to upload snippets so I have to use a system account. I

[pve-devel] New API endpoint to manage snippets

2022-04-07 Thread Patryk Ściborek
Hi Guys! I'm using Terraform to manage VMs running on Proxmox. I need to be able to upload snippets with custom cloud-init configuration. Right now I have to use scp/sftp to upload snippets so I have to use a system account. It looks that I'm not the only one having this issue: https://bugzilla.pr