summaryrefslogtreecommitdiff
path: root/docker/ironic
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2020-01-30 11:24:18 +0000
committerMark Goddard <mark@stackhpc.com>2020-02-26 11:58:52 +0000
commita8af2410b1c126153c0b9b007bb404f3ea459a86 (patch)
treeafc6e660c1a1fdc3f0e1d879a5395a01531e7ef4 /docker/ironic
parent2bb38f156bbdd86aaa535af36af6eec69c4c443c (diff)
downloadkolla-a8af2410b1c126153c0b9b007bb404f3ea459a86.tar.gz
kolla-a8af2410b1c126153c0b9b007bb404f3ea459a86.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 (cherry picked from commit adcdef7d85b4d1a89592f01ae4902b43b768f0d3)
Diffstat (limited to 'docker/ironic')
-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
}