public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox 0/2] Enable upload button for snippets
@ 2024-07-17 18:22 LightDiscord via pve-devel
  0 siblings, 0 replies; only message in thread
From: LightDiscord via pve-devel @ 2024-07-17 18:22 UTC (permalink / raw)
  To: pve-devel; +Cc: LightDiscord

[-- Attachment #1: Type: message/rfc822, Size: 4092 bytes --]

From: LightDiscord <root@arnaud.sh>
To: pve-devel@lists.proxmox.com
Subject: [PATCH proxmox 0/2] Enable upload button for snippets
Date: Wed, 17 Jul 2024 18:22:46 +0000
Message-ID: <20240717182228.27812-2-root@arnaud.sh>

Hi everyone,

I wanted to use cloud-init by only interacting with the Web UI on Proxmox.
In all the steps required to do this, we need to reference snippets when 
using the `cicustom` option. However, it's not possible to upload them
through the UI. It's currently only possible to delete them.

The following two patches attempts to enable the upload route on the API
and enable the upload button on the UI. I've tested both of them and it
seems to work with the tests I did (upload and download from URL small yaml 
files).

NOTE: Some discussions for this feature had concern about the hookscript
snippets, in this case I'm focusing only on cloud-init snippets so I allowed
only `.yml` and `.yaml` files. Some people were also talking about Ignition
maybe enable all extension in the future ?

Reference:

* https://bugzilla.proxmox.com/show_bug.cgi?id=2208

NOTE: It's the first time I'm using git send-email and trying to contribute
to multiple repositories at the same time. If the subject of the e-mails or
anything else is wrong, don't hesitate to send me a direct e-mail.




[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-27 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-17 18:22 [pve-devel] [PATCH proxmox 0/2] Enable upload button for snippets LightDiscord via pve-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal