From 892501b5005882114ccb3cba2a4aa08afb4902cd Mon Sep 17 00:00:00 2001 From: Markus Reisner Date: Tue, 28 Nov 2023 08:56:16 +0100 Subject: [PATCH] Fixes #36940 - Add SecureBoot support for arbitrary operating systems to "Grub2 UEFI" PXE loaders In the course of theforeman/foreman#9864 and theforeman/smart-proxy#877, SecureBoot support for arbitrary operating systems has been added to the "Grub2 UEFI" PXE loaders. This patch adds the 'bootloader-universe' and 'host-config' directories inside the TFTP root, that are both required by the aforementioned PRs. --- manifests/tftp.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/tftp.pp b/manifests/tftp.pp index 90234457..6e5b25a5 100644 --- a/manifests/tftp.pp +++ b/manifests/tftp.pp @@ -13,7 +13,7 @@ root => $root, } - $dirs = pick($directories, prefix(['pxelinux.cfg','grub','grub2','boot','ztp.cfg','poap.cfg'], "${tftp::root}/")) + $dirs = pick($directories, prefix(['pxelinux.cfg','grub','grub2','boot','ztp.cfg','poap.cfg', 'host-config', 'bootloader-universe/pxegrub2'], "${tftp::root}/")) file { $dirs: ensure => directory,