Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions elements/rocky-container-stackhpc/containerfiles/9-stackhpc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ RUN if [[ ${ROCKY_USE_CUSTOM_DNF_MIRRORS} != "false" ]]; then \
RUN dnf group install -y 'Minimal Install' --allowerasing && \
dnf install -y findutils util-linux cloud-init

# Repositories need to be disabled a second time to downgrade kernel.
RUN if [[ ${ROCKY_USE_CUSTOM_DNF_MIRRORS} != "false" ]]; then \
dnf config-manager --disable \* && \
for REPO_URL in $(echo ${ROCKY_CUSTOM_DNF_MIRROR_URLS} | sed 's/,/ /g'); do \
dnf config-manager --add-repo ${REPO_URL}; \
done && \
dnf --allowerasing -y distro-sync; \
fi

COPY <<EOF /etc/cloud/cloud.cfg.d/10-NetworkManager.cfg
---
system_info:
Expand Down