Robin Bowes wrote: > 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? >> > > RHEL 4 has split trees, where content is available in several different repos. Likely CentOS 5.2 has enough of a similar structure to cause multiple repos to be identified.
Please cat "/var/lib/cobbler/distros" and look for what source repos are listed there and share that. This will be helpful in seeing if these repos are really different. > 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. > > Yes and no. It's not right to delete the user's base yum.repos.d configuration, though this is something you can easily achieve in %post with a simple rm or mv. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
