commit 1ac4662c11b7baade1a1d689f5a8b40d481aa3ab
Author: Mark Goddard <email address hidden>
Date: Thu Feb 10 10:58:55 2022 +0000
ironic: Fix UEFI & iPXE bootloader filenames
When using Ironic with UEFI boot mode and iPXE booting, nodes will
attempt to chainload iPXE using a Network Boot Program (NBP). This is
configured in Ironic via [pxe] uefi_ipxe_bootfile_name, and the default
since Xena is snponly.efi. In Wallaby and earlier releases, the default
was ipxe.efi. These files need to be available in the /tftpboot
directory of the ironic-pxe image.
The current default of snponly.efi was not present for any supported
distros. ipxe.efi was present for Debian/Ubuntu but not CentOS, which
appends the architecture to the filename (e.g. ipxe-x86_64.efi).
This change ensures that both ipxe.efi and snponly.efi exist in
/tftpboot for all supported distributions, ensuring that both the
current and previous Ironic defaults should work. Where these files have
different names, we use symlinks to allow for any deployers overriding
the filenames in configuration.
Closes-Bug: #1959203
Change-Id: I79e78dca550262fc86b092a036f9ea96b214ab48
(cherry picked from commit 909710d739f1d7d4c2ef0865ebc9338f260aaa5b)
Reviewed: https:/ /review. opendev. org/c/openstack /kolla/ +/828846 /opendev. org/openstack/ kolla/commit/ 1ac4662c11b7baa de1a1d689f5a8b4 0d481aa3ab
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 1ac4662c11b7baa de1a1d689f5a8b4 0d481aa3ab
Author: Mark Goddard <email address hidden>
Date: Thu Feb 10 10:58:55 2022 +0000
ironic: Fix UEFI & iPXE bootloader filenames
When using Ironic with UEFI boot mode and iPXE booting, nodes will bootfile_ name, and the default
attempt to chainload iPXE using a Network Boot Program (NBP). This is
configured in Ironic via [pxe] uefi_ipxe_
since Xena is snponly.efi. In Wallaby and earlier releases, the default
was ipxe.efi. These files need to be available in the /tftpboot
directory of the ironic-pxe image.
The current default of snponly.efi was not present for any supported
distros. ipxe.efi was present for Debian/Ubuntu but not CentOS, which
appends the architecture to the filename (e.g. ipxe-x86_64.efi).
This change ensures that both ipxe.efi and snponly.efi exist in
/tftpboot for all supported distributions, ensuring that both the
current and previous Ironic defaults should work. Where these files have
different names, we use symlinks to allow for any deployers overriding
the filenames in configuration.
Closes-Bug: #1959203
Change-Id: I79e78dca550262 fc86b092a036f9e a96b214ab48 4c2ef0865ebc933 8f260aaa5b)
(cherry picked from commit 909710d739f1d7d