-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added detect Foreman and disable repos in /etc/yum.repos.d/ except re… #79
base: master
Are you sure you want to change the base?
Conversation
Hello and thank you for contribution! |
Thanks. |
This is my migration procedure:
[root@server ~]# cd /root/almalinux-deploy I use Foreman repositories as the primary, because in my case the server does not have internet access. I only disable the AlmaLinux /etc/yum.repos.d/{almalinux,almalinux-ha,almalinux-powertools}.repo repositories that are from the RPM package almalinux-release that was installed in the previous step. Would it be better to move them to almalinux.repo.DISABLED, almalinux-ha.repo.DISABLED and almalinux-powertools.repo.DISABLED and finally return them to their original names when the migration is complete. I’ve already done and tested this and it’s okay. In that case, I'll have to manually disable AlmaLinux repositories after the migration, but that's fine. |
This would probably be a good case to make |
Sorry for late reply. |
@Conan-Kudo interesting idea. But this way AlmaLinux will be one to one to no one ) RHEL doesn't have separate repos package for obvious reasons and CentOS's release package requires it in usual way. I afraid we can brake many users' workflows by not providing repos by default. I'm not sure that weak dependencies are installed by default for all cases even if it's system default for RHEL8. |
|
Detect Foreman subscription and disable repos in /etc/yum.repos.d/ except redhat.repo (Foreman repo). This is for servers without internet access with Foreman subscription.