Skip to content

Conversation

@fabi200123
Copy link
Contributor

This PR add the following:

  • removes the --enablerepo from the yum install command for Oracle Linux

try:
yum_cmd = 'yum install %s -y%s' % (
" ".join(package_names),
"".join([" --enablerepo=%s" % r for r in enable_repos]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't remove this flag from the command, as we may need it in some cases. We want to only remove the _find_yum_repos logic, which always runs. But the flag itself may prove itself useful on special cases (we'll have to look for what those special cases are in the providers).

@Dany9966
Copy link
Contributor

PR and commit message nit: the enablerepo is removed for all redhat based OSes, not just Oracle Linux.
LGTM otherwise.

@fabi200123 fabi200123 changed the title Remove enable_repo from osmorphing for oracle linux Remove enable_repo from osmorphing for all redhat based OSes Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants