diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-04-10 18:27:39 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-04-10 18:27:39 -0400 |
commit | 28ebf5f306b0f60b7113d602c58e44acdc131ebc (patch) | |
tree | 091dfd215c184f16543bc1841fab0b0c5295c030 /docs/cobbler.pod | |
parent | 11e433e9ea0e9db38e2dcc96f4b56fbc17b710df (diff) | |
download | third_party-cobbler-28ebf5f306b0f60b7113d602c58e44acdc131ebc.tar.gz third_party-cobbler-28ebf5f306b0f60b7113d602c58e44acdc131ebc.tar.xz third_party-cobbler-28ebf5f306b0f60b7113d602c58e44acdc131ebc.zip |
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.
Diffstat (limited to 'docs/cobbler.pod')
-rw-r--r-- | docs/cobbler.pod | 12 |
1 files changed, 12 insertions, 0 deletions
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 |