Red Hat Bugzilla – Bug 1025390
RFE: save installation repository configuration in /etc/yum.repos.d
Last modified: 2014-10-30 13:19:24 EDT
Description of problem:
I've just did a network install from http://somethink...
After booting the system and trying to install some handy programs, yum complains that it has no repositories available.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. do a network install - during installation, fill in your_local_RHEL_copy_URL
3. yum install mc
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
(yum installs mc from the same source as the one used for system installation)
oh, and in addition, "yum-config-manager" is not installed ... really funny :-)
RHEL 6 has the same behavior: network repos are not added by default, use subscription-manager to register.
(In reply to David Shea from comment #2)
> RHEL 6 has the same behavior
well ... things can change, we have brand new installer rewrite, why not to include this?
was a change proposed/discussed/rejected?
(sorry for reopening if it was)
would that be possible to have the repository config saved under /etc/yum.repos.d/ having the repository disabled by default so that nothing changes at the first sight?
The request is valid, but software delivery for RHEL is much more complicated and involved in terms of company policy and such. I want to keep this bug open and discuss possibilities during RHEL 7.1.
We have bug 1119867 which proposes adding a --install switch to the ks repo command. This limits it to addon repos and defaults to the current behavior so I think it's a good idea.
*** This bug has been marked as a duplicate of bug 1119867 ***