We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eaed1e9 + c7b73d9 commit df71280Copy full SHA for df71280
elements/rocky-container-stackhpc/containerfiles/9-stackhpc
@@ -18,6 +18,15 @@ RUN if [[ ${ROCKY_USE_CUSTOM_DNF_MIRRORS} != "false" ]]; then \
18
RUN dnf group install -y 'Minimal Install' --allowerasing && \
19
dnf install -y findutils util-linux cloud-init
20
21
+# Repositories need to be disabled a second time to downgrade kernel.
22
+RUN if [[ ${ROCKY_USE_CUSTOM_DNF_MIRRORS} != "false" ]]; then \
23
+ dnf config-manager --disable \* && \
24
+ for REPO_URL in $(echo ${ROCKY_CUSTOM_DNF_MIRROR_URLS} | sed 's/,/ /g'); do \
25
+ dnf config-manager --add-repo ${REPO_URL}; \
26
+ done && \
27
+ dnf --allowerasing -y distro-sync; \
28
+ fi
29
+
30
COPY <<EOF /etc/cloud/cloud.cfg.d/10-NetworkManager.cfg
31
---
32
system_info:
0 commit comments