kiranchavala commented on issue #7586:
URL: https://github.com/apache/cloudstack/issues/7586#issuecomment-1579882755

   @Noelantogerorge 
   
   I tested the uefi issue only on Centos 7. I believe there are issues with 
ubuntu 22.04 and booting UEFI images
   
   
   yes we need to create the uefiproperties file 
   
   1. Create a file with the following content 
/etc/cloudstack/agent/uefi.properties
   
   guest.nvram.template.secure=/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd
   guest.nvram.template.legacy=/usr/share/edk2/ovmf/OVMF_VARS.fd
   guest.loader.secure=/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
   guest.nvram.path=/var/lib/libvirt/qemu/nvram
   guest.loader.legacy=/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
   
   2. Edit the file /etc/libvirt/qemu.conf and add the following line
   
   nvram = ["/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd"]
   
   3. Restart the cloud stack agent and libvirtd or force reconnect the host
   
   service libvirtd restart
   service cloudstack-agent restart
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to