[Spacewalk-list] CentOS repos reappear in /etc/yum.repos.d
David Dales
DDales at petsmart.com
Wed Nov 27 17:47:55 UTC 2019
Nope, that's exactly what the centos-release package does. It's only purpose is to install the repo file and update the /etc/centos-release which is linked to /etc/redhat-release
Only thing you can do is exclude it from patching or remove it from the repository altogether
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Nicole Beck
Sent: Wednesday, November 27, 2019 10:43 AM
To: 'spacewalk-list at redhat.com' <spacewalk-list at redhat.com>
Subject: [Spacewalk-list] CentOS repos reappear in /etc/yum.repos.d
EXTERNAL EMAIL: Ensure you trust this sender and know the content is safe before clicking on any links or attachments.
Hello,
I have a Spacewalk 2.9 server and a CentOS 7 client using the Spacewalk 2.9 client. After registering the client with rhnreg_ks, I moved all of the files from /etc/yum.repos.d to /etc/yum.repos.d.o. The "yum repolist" command shows that I'm using the repositories from my spacewalk server. I've noticed that when I update the client (specifically the centos-release package), the Centos-* repository files reappear in /etc/yum.repos.d. Is there any way to prevent this from happening?
Thanks,
Nicole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191127/d385cb6d/attachment.htm>
More information about the Spacewalk-list
mailing list