From 28ebf5f306b0f60b7113d602c58e44acdc131ebc Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 10 Apr 2007 18:27:39 -0400 Subject: This commit adds a --rpm-list parameter to "cobbler repo add". --rpm-list allows for partial mirroring of RPM content from a yum repository using yumdownloader. An example of this would be wanting to have a local mirror of useful tools from FC6 Extras (cobbler and koan, possibly?) while not pulling down content that just takes up time/space (like 3D games). This will work for http:// and ftp:// repositories, but not RHN at this point. Incidentally this feature doesn't resolve dependencies at this point because yumdownloader is currently broken. See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232183 So, for now, give all dependencies for --rpm-list and when yumdownloader gets fixed, the "--resolve" argument can be reinserted and this will be a lot more useful. --- docs/cobbler.pod | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/cobbler.pod') diff --git a/docs/cobbler.pod b/docs/cobbler.pod index 5bc8021..dfe8985 100644 --- a/docs/cobbler.pod +++ b/docs/cobbler.pod @@ -205,6 +205,8 @@ Experimental support is also provided for mirroring (RHEL5) and later RHN conten a fast local mirror. The mirror syntax for this is --mirror=rhn://channel-name and you must have entitlements for this to work. +http://, ftp:// and rhn:// mirrors require yum-utils be installed. + =item name This name is used as the save location for the mirror. If the mirror represented, say, Fedora Core @@ -230,6 +232,16 @@ still be used for installation, it just won't get installed automatically in /et See /etc/cobbler/kickstart_fc6.ks for an example of how to employ this within a kickstart template. +=item rpm-list + +By specifying a space-delimited list of package names for --rpm-list, one can decide to mirror only a part +of a repo (the list of packages given, plus dependencies). This may be helpful in conserving time/space/bandwidth. +For intance, when mirroring FC6 Extras, it may be desired to mirror just cobbler and koan, and skip all of the +games. To do this, use --rpm-list="cobbler koan". + +This option only works for http:// and ftp:// repositories. It will be ignored for other +mirror types, such as local paths and rsync:// mirrors. This option requires yum-utils be installed. + =back =head2 DISPLAYING CONFIGURATION ENTRIES -- cgit