Create multiple VM instances using VM template with EFI mode selected

  • Related issues: #2577 [BUG] Boot in EFI mode not selected when creating multiple VM instances using VM template with EFI mode selected.

Category:

  • Virtual Machine

Verification Steps

  1. Create a VM template, check the Booting in EFI mode
  2. Create multiple VM instance and use the VM template have Booting in EFI mode checked
  3. Wait for all VM running
  4. Check the EFI mode is enabled in VM config
  5. ssh to each VM
  6. Check the /etc/firmware/efi file

Expected Results

Can create multiple VM instance using VM template with EFI mode selected

  • All VMs are running image

  • Check VM setting, the booting in EFI mode is checked image

  • Access each VM we can see /sys/firmware/efi present

    ubuntu@efi-01:~$ ls /sys/firmware/
    acpi  dmi  efi  memmap
    
    ubuntu@efi-02:~$ ls /sys/firmware/
    acpi  dmi  efi  memmap
    
    ubuntu@efi-03:~$ ls /sys/firmware
    acpi  dmi  efi  memmap