[pve-devel] applied: [RFC qemu-server] api: create disks: avoid adding secondary cloud-init drives

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Sep 12 18:06:10 CEST 2022


Am 06/05/2022 um 12:11 schrieb Fabian Ebner:
> This will break possibly existing workflows like
> 1. add second cloud-init
> 2. remove first cloud-init
> to change the cloud-init storage.
> 
> On the other hand, it avoids unintended misconfiguration of having
> mutliple cloud-init drives with potentially different settings.
> 
> Also in preparation for adding cloud-init-related API calls, where
> not being able to assume that there's only one cloud-init drive/state
> would complicate things quite a bit.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Are there any scenarios where having multiple cloud-init drives is
> useful?
> 
>  PVE/API2/Qemu.pm  | 19 +++++++++++++++++++
>  PVE/QemuConfig.pm | 15 +++++++++++++++
>  2 files changed, 34 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list