diff options
| author | Michael DeHaan <mdehaan@redhat.com> | 2008-10-08 15:44:34 -0400 |
|---|---|---|
| committer | Michael DeHaan <mdehaan@redhat.com> | 2008-10-08 15:44:34 -0400 |
| commit | aa6b0644de09f741cc0fa77d6a95bf61d8f6a05b (patch) | |
| tree | a3442f8346c4309cdad4cee5646c946a755b084e /docs | |
| parent | c329cfdbe77751eafcbff7bea172e3d4da681c81 (diff) | |
| download | cobbler-aa6b0644de09f741cc0fa77d6a95bf61d8f6a05b.tar.gz cobbler-aa6b0644de09f741cc0fa77d6a95bf61d8f6a05b.tar.xz cobbler-aa6b0644de09f741cc0fa77d6a95bf61d8f6a05b.zip | |
Add information about new reposync flags to the manpage.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cobbler.pod | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/cobbler.pod b/docs/cobbler.pod index cb9a5595..19a099b6 100644 --- a/docs/cobbler.pod +++ b/docs/cobbler.pod @@ -662,10 +662,10 @@ Yum repository management is an optional feature, and is not required to provisi Make sure there is plenty of space in cobbler's webdir, which defaults to /var/www/cobbler. -B<cobbler reposync> +B<cobbler reposync [--tries=N] [--no-fail]> Cobbler reposync is the command to use to update repos as configured with "cobbler repo add". Mirroring -can take a long time, and usage of cobbler reposync prior to cobbler sync is needed to ensure provisioned systems have the files they need to actually use the mirrored repositories. If you just add repos and never run "cobbler reposync", the repos will never be mirrored. This is probably a command you would want to put on a crontab, though the frequency of that crontab and where the output goes is left up to the systems administrator. +can take a long time, and usage of cobbler reposync prior to usage is needed to ensure provisioned systems have the files they need to actually use the mirrored repositories. If you just add repos and never run "cobbler reposync", the repos will never be mirrored. This is probably a command you would want to put on a crontab, though the frequency of that crontab and where the output goes is left up to the systems administrator. For those familiar with yum's reposync, cobbler's reposync is (in most uses) a wrapper around the yum command. Please use "cobbler reposync" to update cobbler mirrors, as yum's reposync does not perform all required steps. Also cobbler adds support for rsync and SSH locations, where as yum's reposync only supports what yum supports (http/ftp). @@ -675,7 +675,9 @@ B<cobbler reposync --only="reponame1" ...> When updating repos by name, a repo will be updated even if it is set to be not updated during a regular reposync operation (ex: cobbler repo edit --name=reponame1 --keep-updated=0). -Note that if a cobbler import provides enough information to use the boot server as a yum mirror for core packages, cobbler can set up kickstarts to use the cobbler server as a mirror instead of the outside world. If this feature is not desirable, it can be turned on by setting yum_post_install_mirror to 0 in /etc/settings (and rerunning "cobbler sync"). You should disable this feature if machines are provisioned on a different VLAN/network than production, or if you are provisioning laptops that will want to acquire updates on multiple networks. +Note that if a cobbler import provides enough information to use the boot server as a yum mirror for core packages, cobbler can set up kickstarts to use the cobbler server as a mirror instead of the outside world. If this feature is desirable, it can be turned on by setting yum_post_install_mirror to 1 in /etc/settings ((and running "cobbler sync"). You should not use this feature if machines are provisioned on a different VLAN/network than production, or if you are provisioning laptops that will want to acquire updates on multiple networks. + +The flags --tries=N (for example, --tries=3) and --no-fail should likely be used when putting reposync on a crontab. They ensure network glitches in one repo can be retried and also that a failure to synchronize one repo does not stop other repositories from being synchronized. =head2 PXE BOOT LOOP PREVENTION |
