Skip to content

Commit

Permalink
Fixes #36940 - Add SecureBoot support for arbitrary operating systems…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
goarsna committed Aug 8, 2024
1 parent 6a3724a commit 16f60b1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifests/tftp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 16f60b1

Please sign in to comment.