Project

General

Profile

Actions

Feature #36833

open

New PXE loader "Grub2 UEFI SecureBoot (target OS)"

Added by Markus Reisner 7 months ago. Updated 7 months ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

This feature consists of two patches, one for foreman and one for smart-proxy.

This patch introduces a new loader of kind `:PXEGrub2TargetOS` which allows to provide host-specific Network Bootstrap Programs (NPB) in order to enable network based installations for SecureBoot-enabled hosts.

SecureBoot expects to follow a chain of trust from the start of the host to the loading of Linux kernel modules. The very first shim that is loaded basically determines which distribution is allowed to be booted
or kexec'ed until next reboot.

The existing "Grub2 UEFI SecureBoot" is not sufficient as it limits the possible installations to the vendor of the Foreman (Smart Proxy) host system.

Providing shim and GRUB2 by the vendor of the to-be-installed operating system allows Foreman to install any operating system on SecureBoot-enabled hosts over network.

To achieve this, the host's DHCP filename option is set to a shim path in a directory that is host-specific (contains MAC address). Corresponding shim and GRUB2 binaries are copied into that directory along with the generated GRUB2 configuration files as we know from "Grub2 UEFI".

The required binaries must be provided once in the so called "bootloader universe". This directory can be configured via the settings file `/etc/foreman-proxy/settings.d/tftp.yml` and defaults to `/usr/local/share/bootloader-universe/<os>/`. These binaries can be manually retrieved from the installation media and is not part of this patch set.


Related issues 2 (2 open0 closed)

Related to Foreman - Feature #36834: New PXE loader "Grub2 UEFI SecureBoot (target OS)"Ready For TestingActions
Related to Installer - Feature #36940: New PXE loader "Grub2 UEFI SecureBoot (target OS)"Ready For TestingActions
Actions #1

Updated by Markus Reisner 7 months ago

  • Description updated (diff)
Actions #2

Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/877 added
Actions #3

Updated by Markus Reisner 6 months ago

  • Related to Feature #36834: New PXE loader "Grub2 UEFI SecureBoot (target OS)" added
Actions #4

Updated by Markus Reisner 6 months ago

  • Related to Feature #36940: New PXE loader "Grub2 UEFI SecureBoot (target OS)" added
Actions

Also available in: Atom PDF