Test Ubuntu Core with QEMU

Is there a KVM/QEMU example, please?

The method shown here (NAT vs. Bridge?) doesn’t use the LAN’s DHCP server, I believe. Of course, I’m just a newbie in these matters.

Thanks.

Regarding the UEFI files located in /usr/share/OVMF/, the OVMF_CODE.secboot.fd file functions properly for officially released images. However, if users following the UC documentation for building a custom image with a custom kernel encounter this guide, attempting to use these files will result in a bad shim signature error due to secure boot being enabled.

To address this issue, it would be helpful to either:

  1. Provide instructions on disabling secure boot:
    Navigate to UEFI Firmware Settings > Device Manager > Secure Boot Configuration > Attempt Secure Boot, uncheck the box, and press ESC to return and boot.

OR

  1. Recommend using the file /usr/share/OVMF/OVMF_CODE_4M.fd, which functions correctly without requiring secure boot.