Hi


Could you please add the following configuration in  /etc/libvirt/qemu.conf

nvram = ["/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd"]


restart the cloudstack agent and libvirtd services


I have not tried on Ubuntu, The uefi feature works fine with KVM+Centos/ 8


In the database could you please check the following query

select * from host_details where name="host.uefi.enable";

You can also refer to the following issues

https://github.com/apache/cloudstack/pull/3638

https://github.com/apache/cloudstack/issues/4238


Regards
Kiran


________________________________
From: Joan g <[email protected]>
Sent: 21 March 2023 18:41
To: [email protected] <[email protected]>
Subject: Enabling UEFI secure Boot on ACS 4.17.2 KVM+Ubuntu

Hello,

I am trying to deploy a Windows machine with Secure boot. But its getting
failed with message " Cannot deploy to specified host as host does n't
support uefi vm deployment, returning."

OVMF is already installed in KVM node and uefi.properties are updated with
below details:

===============
guest.nvram.template.secure=/usr/share/OVMF/OVMF_VARS.fd
guest.nvram.template.legacy=/usr/share/OVMF/OVMF_VARS.fd
guest.loader.secure=/usr/share/OVMF/OVMF_CODE.secboot.fd
guest.loader.legacy=/usr/share/OVMF/OVMF_CODE.fd
guest.nvram.path=/var/lib/libvirt/qemu/nvram/
===============


After restarting the cloudstack-agent in host, still the Database table not
getting updated

-------------
mysql> select * from host_details where name like '%uefi%';
Empty set (0.00 sec)
-------------

Can someone advice what I am missing here?

Regards
Jg

 

Reply via email to