Skip to content

Commit

Permalink
Revert "disable vault server"
Browse files Browse the repository at this point in the history
This reverts commit 02318da.
  • Loading branch information
mershad-manesh committed Aug 13, 2024
1 parent 02318da commit 3244765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions opennms-container/horizon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RUN curl --retry 5 --fail -L ${CONFD_URL} -o /usr/bin/confd && \
chmod +x /usr/bin/confd

# Given that CentOS mirrors are offline we will point to Vault
#RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
#RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

RUN dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled powertools && \
Expand Down
4 changes: 2 additions & 2 deletions opennms-container/sentinel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ARG REPO_RPM="https://yum.opennms.org/repofiles/opennms-repo-stable-rhel8.noarch
SHELL ["/bin/bash", "-c"]

# Given that CentOS mirrors are offline we will point to Vault
#RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
#RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

# Collect generic steps in a layer for caching
RUN rpm --import "${REPO_KEY_URL}" && \
Expand Down

0 comments on commit 3244765

Please sign in to comment.