mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-22 07:38:08 +00:00
e41ac50f12
process_request walks xcat/ipxe/nets and xcat/xnba/nets in one loop and wrote the shim line into the UEFI script of both. netboot=xnba is out of scope: no key signs xnba.efi, and its loader does not know the shim command, so the line stops the discovery of a node that never asked for Secure Boot. The loop now carries the method name beside the directory, and the shim line goes only into the script of the ipxe method. xnba.pm already gates the node scripts the same way. One assertion of nine in secureboot_genesis_shim.t fails without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>