From 16f60b17dd02e46d942dfed72b2420a7dbbeabb3 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 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/manifests/tftp.pp b/manifests/tftp.pp index 90234457..1df204ed 100644 --- a/manifests/tftp.pp +++ b/manifests/tftp.pp @@ -13,7 +13,17 @@ 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', + 'bootloader-universe/pxegrub2', + ], "${tftp::root}/")) file { $dirs: ensure => directory,