Feature #12634

Updated by Lukas Zapletal over 4 years ago

Host and hostgroups must be enhanced with two new flags: We currently hardcode PXELinux for the PXE template specifies PXE template kind and variant pair to use. Until today, variant, this was hardcoded patch will change this to PXELinux or PXEGrub by selected operating system. Optionally, template variant flag from OS could be simply dropped because PXE template implies variant to use [PXELinux, Grub2] and there are no variants which share the same configuration syntax (this is an open item).

Orchestration TFTP
change our orchestration code must be modified to use support multiple "KIND default local boot" and "KIND global default" templates. Local and global boot templates must PXE variants. Foreman will be added for Grub2 new kind.

But only kind/variant is not enough, users need to select BIOS or UEFI booting method. This is where Loader flag comes in - selection of three constants: BIOS, UEFI and SecureBoot UEFI. The first two are obvious causing selection of the correct DHCP filename when
deploying TFTP configuration, the third one select "shim.efi" chain loading capability for secure booting.

Similarly to root password, a global setting could be provided for one or
both flags for missing values (open item). by default.