Comment 1 for bug 1873809

Revision history for this message
Stéphane Graber (stgraber) wrote : Re: disk-kvm.img aren't UEFI bootable

Ff we can't easily track down & fix the source of this issue, an alternative is to modify the streams to strip the kvm-img hash from the LXD metadata record, forcing all our users onto the non-kvm image. Do note that this comes with its own issues though.

Those non-kvm images attempt to boot without an initrd, which fails under LXD due to missing virtio drivers. The kernel then panics and reboots back into grub, this time booting with an initrd.

On top of the added boot time and CPU load this causes, it also means that the VMs never boot properly on first boot. This breaks LXD's cloud-init support, so those VMs will never get their cloud-init data.