aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2020-01-30 11:24:18 +0000
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-02-01 12:01:11 +0000
commitadcdef7d85b4d1a89592f01ae4902b43b768f0d3 (patch)
treeeb31d892526169de81f39bed0ecad78c19c68d1d
parentd00fa3a6dda3914e66ed414ef758bf2aeda2906c (diff)
downloadkolla-adcdef7d85b4d1a89592f01ae4902b43b768f0d3.tar.gz
kolla-adcdef7d85b4d1a89592f01ae4902b43b768f0d3.zip
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
-rw-r--r--docker/ironic/ironic-pxe/extend_start.sh2
1 files changed, 1 insertions, 1 deletions
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
}