Skip to content

Commit

Permalink
PRODENG-2744 Remove rhel 7 repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pgedara authored and james-nesbitt committed Nov 5, 2024
1 parent 8d74bda commit 4b05e4c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/configurer/enterpriselinux/el.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ func (c Configurer) InstallMCR(h os.Host, scriptPath string, engineConfig common
log.Infof("%s: appears to be an AWS EC2 instance, installed rh-amazon-rhui-client", h)
}

if h.Exec("sh -c 'yum-config-manager --enable rhel-7-server-rhui-extras-rpms && yum makecache fast'", exec.Sudo(h)) == nil {
log.Infof("%s: enabled rhel-7-server-rhui-extras-rpms repository", h)
}

if err := c.LinuxConfigurer.InstallMCR(h, scriptPath, engineConfig); err != nil {
return fmt.Errorf("failed to install MCR: %w", err)
}
Expand Down

0 comments on commit 4b05e4c

Please sign in to comment.