doc: Fix installation of grub/shim EFI images in CentOS

Fix the package name for grub image (now we should use one of -ia32
and -x64). Also the image file paths are different in RHEL.

Change-Id: Id3972c28bb781b97d8a0070edbbc00fc63734aa8
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-07-22 20:35:41 +09:00
parent 635849989a
commit 207fd08d38

View File

@@ -173,9 +173,9 @@ the PXE UEFI environment.
sudo apt-get install grub-efi-amd64-signed shim-signed
RHEL8/CentOS8/Fedora::
RHEL/CentOS/Fedora::
sudo dnf install grub2-efi shim
sudo dnf install grub2-efi-x64 shim
#. Copy grub and shim boot loader images to ``/tftpboot`` directory:
@@ -190,11 +190,16 @@ the PXE UEFI environment.
sudo cp /boot/efi/EFI/fedora/shim.efi /tftpboot/bootx64.efi
sudo cp /boot/efi/EFI/fedora/grubx64.efi /tftpboot/grubx64.efi
RHEL8/CentOS8::
CentOS::
sudo cp /boot/efi/EFI/centos/shim.efi /tftpboot/bootx64.efi
sudo cp /boot/efi/EFI/centos/grubx64.efi /tftpboot/grubx64.efi
RHEL::
sudo cp /boot/efi/EFI/rhel/shim.efi /tftpboot/bootx64.efi
sudo cp /boot/efi/EFI/rhel/grubx64.efi /tftpboot/grubx64.efi
#. Update the bare metal node with ``boot_mode:uefi`` capability in
node's properties field. See :ref:`boot_mode_support` for details.
@@ -270,7 +275,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running.
apt-get install ipxe
RHEL8/CentOS8/Fedora::
RHEL/CentOS/Fedora::
dnf install ipxe-bootimgs
@@ -288,7 +293,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running.
cp /usr/lib/ipxe/{undionly.kpxe,ipxe.efi,snponly.efi} /tftpboot
Fedora/RHEL8/CentOS8::
Fedora/RHEL/CentOS::
cp /usr/share/ipxe/{undionly.kpxe,ipxe-x86_64.efi,ipxe-snponly-x86_64.efi} /tftpboot