On Wed, Apr 4, 2012 at 4:11 PM, Razi Khaja <[email protected]> wrote: > I've setup a repo for Fedora 15 and run 'cobbler reposync'. Currently > I am downloading 24000+ packages, and likely won't need more than a > small fraction of those. Although in some cases, mirroring entire > repositories may be desired, it might be more efficient to mirror to > only download packages into the local mirror on demand. Meaning, > suppose I am setting up a new Fedora 15 machine, and have my > repositories registered with the profile, if I want to install package > X on my new Fedora 15 system, and it doesn't exist in my local repo, > then download it to my local repo. In other words, if a package does > not exist in my repo, then download it on demand. Is this something > that is possible to do using Cobbler?
This is somewhat out of cobbler's scope, but you could accomplish it via a custom post snippet (yum install, if that fails wget the RPM). Either that, or just setup a repo as a remote that you do not mirror locally and you won't need to reposync it - assuming the systems you build have internet access, which would seem to be a prerequisite of what you're asking to do above. At the worst, you could setup a proxy so you don't have to provide direct internet access to your systems. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
