From bd90b02708d8c6b88692ec7308a41229fdcdaf22 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 9 Apr 2021 09:33:15 +0200 Subject: drop leftovers of RHEL support As a project we never built RHEL based images so support for them was not tested. Change-Id: I27dfe34ade088228d71f6857ec4f3ab28ee63915 --- docker/ironic/ironic-pxe/extend_start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/ironic') diff --git a/docker/ironic/ironic-pxe/extend_start.sh b/docker/ironic/ironic-pxe/extend_start.sh index 44f101bb0..af20d01d6 100644 --- a/docker/ironic/ironic-pxe/extend_start.sh +++ b/docker/ironic/ironic-pxe/extend_start.sh @@ -15,7 +15,7 @@ function prepare_pxe { function prepare_ipxe { if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then cp /usr/lib/ipxe/{undionly.kpxe,ipxe.efi} /tftpboot - elif [[ "${KOLLA_BASE_DISTRO}" =~ centos|rhel ]]; then + elif [[ "${KOLLA_BASE_DISTRO}" =~ centos ]]; then cp /usr/share/ipxe/{undionly.kpxe,ipxe*.efi} /tftpboot fi } @@ -35,7 +35,7 @@ if [[ -d /usr/lib/grub/arm64-efi ]]; then if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then grub-mkimage -v -o /tftpboot/grubaa64.efi -O arm64-efi -p "grub" $modules - elif [[ "${KOLLA_BASE_DISTRO}" =~ centos|rhel ]]; then + elif [[ "${KOLLA_BASE_DISTRO}" =~ centos ]]; then grub2-mkimage -v -o /tftpboot/grubaa64.efi -O arm64-efi -p "EFI/centos" $modules fi fi -- cgit v1.2.3