Skip to content

Commit a5c330c

Browse files
authored
Merge pull request #407 from stackhpc/upstream/master-2025-05-05
Synchronise master with upstream
2 parents e3829d0 + aa44d7a commit a5c330c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

docker/ironic/ironic-pxe/extend_start.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ function prepare_ipxe {
5151
cp /usr/lib/ipxe/{undionly.kpxe,ipxe*.efi,snponly.efi} ${TFTPBOOT_PATH}/
5252
elif [[ "${KOLLA_BASE_DISTRO}" =~ centos|rocky ]]; then
5353
cp /usr/share/ipxe/{undionly.kpxe,ipxe*.efi} ${TFTPBOOT_PATH}/
54+
cp /usr/share/ipxe/arm64-efi/snponly.efi ${TFTPBOOT_PATH}/ipxe-snponly-aarch64.efi
5455
if [[ ! -e ${TFTPBOOT_PATH}/ipxe.efi ]]; then
55-
ln -s ${TFTPBOOT_PATH}/ipxe-${KOLLA_BASE_ARCH}.efi ${TFTPBOOT_PATH}/ipxe.efi
56+
# NOTE(m-anson): No ipxe-aarch64.efi exists so no need to use
57+
# $KOLLA_BASE_ARCH in the symlink target
58+
ln -s ${TFTPBOOT_PATH}/ipxe-x86_64.efi ${TFTPBOOT_PATH}/ipxe.efi
5659
fi
5760
if [[ ! -e ${TFTPBOOT_PATH}/snponly.efi ]]; then
5861
ln -s ${TFTPBOOT_PATH}/ipxe-snponly-${KOLLA_BASE_ARCH}.efi ${TFTPBOOT_PATH}/snponly.efi

docker/opensearch/opensearch/Dockerfile.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1717
ENV OPENSEARCH_INITIAL_ADMIN_PASSWORD="Kolla24OpenSearch"
1818

1919
{{ macros.install_packages(opensearch_packages | customizable("packages")) }} \
20-
&& chown -R opensearch:opensearch /usr/share/opensearch
20+
&& chown -R opensearch:opensearch /usr/share/opensearch \
21+
&& rm -f /etc/opensearch/*.pem \
22+
&& rm -f /etc/opensearch/securityadmin_demo.sh
2123

2224
COPY extend_start.sh /usr/local/bin/kolla_extend_start
2325
RUN chmod 755 /usr/local/bin/kolla_extend_start
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Ensure that ipxe-snponly-aarch64.efi is available in
5+
/tftpboot in Centos and Rocky after bootstrapping
6+
ironic-pxe.

0 commit comments

Comments
 (0)