-----BEGIN PGP SIGNED MESSAGE-----
>> Running Katello 2.0 and I have our test servers deployed and registered
>> with katello-agent and subscription manager.
>> But I still have the original Centos base and update repo's configured
>> on the host after that. How do I disable/remove these during setup so
>> they won't get used?
> I run into the same on my Fedora machines, so what I did is this after
> the subscription-manager snippet in the provisioning template:
> shopt -s extglob
> sed -i -e 's/^enabled.=.$/enabled=0/' /etc/yum.repos.d/!(redhat.repo)
> shopt -u extglob
Tried this but there is no "enabled=1" in the Centos repo's:
name=CentOS-$releasever - Base
So I decided to "rm" all the Centos repo's, put a repo file in
/etc/yum.repos.d/ with our own local Centos repo url and do a "yum clean
If I don't do it this way, I get conflicts when installing
subscription-manager and katello-agent.
We want the install & updates only from our own repo's as that is the
reason we use katello in the first place
Thanks for the info!
>> I can just block it in the firewall but we'd like them disabled also.
>> Is there also a way to block local yum completely and only allow yum
>> through katello?
> That might be a nice feature to have, maybe file an issue at
>> Kind regards,
>> Jorick Astrego
>> Met vriendelijke groet, With kind regards,
>> Jorick Astrego
>> Netbulae Virtualization Experts
>> Tel: 053 20 30 270 firstname.lastname@example.org Staalsteden 4-3A
>> Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede
>> You received this message because you are subscribed to the Google
Groups "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it,
send an email to email@example.com.
>> To post to this group, send email to firstname.lastname@example.org.
>> Visit this group at http://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
> Stephen Benjamin
> Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn
> Handelsregister: Amtsgericht München, HRB 153243
> Geschäftsführer: Charles Cachera, Michael Cunningham,
> Michael O'Neill, Charles Peters
Met vriendelijke groet, With kind regards,
Netbulae Virtualization Experts
On 12/12/2014 09:40 AM, Stephen Benjamin wrote:
> On Thu, Dec 11, 2014 at 11:22:58AM +0100, Jorick Astrego wrote:
Tel: 053 20 30 270 email@example.com Staalsteden 4-3A KvK 08198180
Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01