From adcdef7d85b4d1a89592f01ae4902b43b768f0d3 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 30 Jan 2020 11:24:18 +0000 Subject: CentOS 8: Relax ironic iPXE EFI bootloader location CentOS 7 had ipxe.efi. CentOS 8 has ipxe-i386.efi and ipxe-x86_64.efi. Use a wildcard to copy any of these that are present. Change-Id: I6d409e56b424a039f5aff9af86ca1b026c2c6286 Partially-Implements: blueprint centos-rhel-8 --- docker/ironic/ironic-pxe/extend_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/ironic/ironic-pxe/extend_start.sh b/docker/ironic/ironic-pxe/extend_start.sh index ec7e2a7f3..b024d445e 100644 --- a/docker/ironic/ironic-pxe/extend_start.sh +++ b/docker/ironic/ironic-pxe/extend_start.sh @@ -16,7 +16,7 @@ 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 - cp /usr/share/ipxe/{undionly.kpxe,ipxe.efi} /tftpboot + cp /usr/share/ipxe/{undionly.kpxe,ipxe*.efi} /tftpboot fi } -- cgit v1.2.3