Robin Bowes wrote:
> Hi,
> 
> I'm seeing duplicate repos being installed in my cobbler-installed 
> guests, e.g. the following lines are produced in the rendered kickstart 
> cfg file:
> 
> wget 
> "http://dist.robinbowes.com/cblr/repos_system/boom/CentOS-5.2-x86_64-1.repo"; 
> --output-document=/etc/yum.repos.d/CentOS-5.2-x86_64-1.repo
> wget 
> "http://dist.robinbowes.com/cblr/repos_system/boom/CentOS-5.2-x86_64-0.repo"; 
> --output-document=/etc/yum.repos.d/CentOS-5.2-x86_64-0.repo
> 
> These files both point to the same repo. Any idea why? Can it be prevented?

I wasn't clear - I am using koan to install a PV guest under xen.

Additionally, these repos are installed as well as the default "base" 
repo. They should really replace the base repo, or at least disable it 
by default.

Similarly, I have a local "updates" mirror which should replace the 
default "updates" repo.

So, I see the following distros after a xen PV install of CentOS-5.2 
using koan:

1. CentOS-5.2-x86_64-0.repo
2. CentOS-5.2-x86_64-1.repo
3. CentOS-5.2-x86_64-Updates.repo
4. CentOS-5.2-xen-x86_64-0.repo
5. CentOS-Base.repo
6. CentOS-Media.repo
7. epel-5-x86_64.repo
8. RPMForge-RHEL5-x86_64.repo

1,2, & 4 all point to the same mirror of the install DVD on the cobbler 
server - there should only be one of these, probably #4 as that is the 
name of the profile that was used.

3 is my local updates mirror

5 contains [base] and [updates]. I think these should be disabled since 
they are replaced by the local cobbler mirrors.

6 points to the local CentOS install media. This is disabled by default 
and so can be left as-is.

7 & 8 are local mirrors of epel and RPMForge respectively. These work fine.

Cheers,

R.

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to