cloud-init unable to run on Debian 11 cloud image

This was my problem with setting up debian cloud image as I am using UEFI
After changing from ide to scsi everything works as expected
Thank you
Can confirm that changing from ide0 to
Code:
scsi0: local-lvm:vm-102-cloudinit,media=cdrom
is working (i use scsi0 because I use virtio0 for primary hard drive, you might need to change the number from 0 to something else)