2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-21 01:42:15 +00:00
Files
xcat-core/xCAT-server/lib/xcat/plugins
Daniel Hilst a91d0f783d fix(kvm): a KVM node cannot ask for EFI without Secure Boot
vm.othersettings firmware: accepted only efi, which leaves Secure Boot to libvirt
firmware autoselection. Autoselection picks a descriptor by host policy, so on a
host whose best match enrolls keys the guest refuses an unsigned boot loader:

    NBP file downloaded successfully.
    BdsDxe: failed to load Boot0004 "UEFI PXEv6" : Access Denied

That decides whether a node can network boot over IPv6. A DHCPv6 bootfile-url is
written for a grub2 node alone, and the grub2 image under /tftpboot/boot/grub2 is
built with grub2-mkimage and is not signed, so a node with Secure Boot enforced
cannot start it and falls through to the next boot entry.

firmware: now also takes efi-secureboot and efi-insecure, and build_xmldesc adds
the <firmware> element that states the request. enrolled-keys follows secure-boot
because libvirt refuses a guest whose keys are enrolled while Secure Boot is off.
XML::Simple writes the firmware attribute of <os> and the element has the same
name, so the element is added to the rendered XML rather than to the hash.

firmware:efi keeps its behaviour and adds no element.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-28 06:23:08 -03:00
..
…
…
…
…
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
…
…
2024-05-07 16:19:25 +02:00
…
2026-10-19 16:11:59 -03:00
…
2023-01-18 11:00:59 -05:00
…
…
…
2018-08-21 15:18:12 -04:00
2026-10-16 11:03:31 -03:00
2018-08-21 15:18:12 -04:00