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

Mira Limbeck m.limbeck at proxmox.com
Mon Jul 4 10:54:04 CEST 2022


On 5/16/22 10:32, DERUMIER, Alexandre wrote:
>> ---
>>
>> Are there any scenarios where having multiple cloud-init drives is
>> useful?
> I don't remember exactly how cloud-init daemon is mounting drives,
> but I'm pretty sure that with multiple cloud-init drives,
> only 1 will be mounted and read.
>
> So,I'm 100% ok with limiting cloud-init to only 1 drive.
>
Yes, only one will be mounted.

We had a support case with exactly that issue, one cloud-init disk 
attached to the VM, and host CD-Rom passthrough with another one.

This lead to strange behavior because the wrong one was used by cloud-init.






More information about the pve-devel mailing list