Skip to content

Commit b73685c

Browse files
goarsnaekohl
authored andcommitted
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.
1 parent 6645a72 commit b73685c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

manifests/tftp.pp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@
1313
root => $root,
1414
}
1515

16-
$dirs = pick($directories, prefix(['pxelinux.cfg','grub','grub2','boot','ztp.cfg','poap.cfg'], "${tftp::root}/"))
16+
$dirs = pick($directories, prefix([
17+
'pxelinux.cfg',
18+
'grub',
19+
'grub2',
20+
'boot',
21+
'ztp.cfg',
22+
'poap.cfg',
23+
'host-config',
24+
'bootloader-universe',
25+
'bootloader-universe/pxegrub2',
26+
], "${tftp::root}/"))
1727

1828
file { $dirs:
1929
ensure => directory,

0 commit comments

Comments
 (0)