Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
add missing instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Jul 24, 2024
1 parent 6c6b960 commit 59952c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/force-auto.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ class T_CentOS_7(RHEL7, EPEL_Mixin):
@property
def build_from_hook(self):
return f"""\
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo"""
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo"""


class RHEL8(Test):
Expand Down

0 comments on commit 59952c5

Please sign in to comment.