[et-mgmt-tools] [PATCH] cobbler - add arch to repo definition to override default arch for reposync
Daniel P. Berrange
berrange at redhat.com
Thu Jun 7 19:24:04 UTC 2007
On Thu, Jun 07, 2007 at 03:17:42PM -0400, Perry Myers wrote:
> Michael DeHaan wrote:
> > This looks good to me (thanks again) ... can you also submit a patch for
> > docs/cobbler.pod (which is the manpage src) that describes when to use
> > --arch (see the place where I've added docs for --createrepo-flags)?
> Here is the additional patch to update the pod. Let me know if I
> did that wrong. Never worked with pod files before... :)
'man perlpod' will tell you all you need to know - it generally pretty good
and simple for DWIM formatting.
> diff --git a/docs/cobbler.pod b/docs/cobbler.pod
> index 4192c19..5826710 100644
> --- a/docs/cobbler.pod
> +++ b/docs/cobbler.pod
> @@ -263,6 +263,12 @@ mirror types, such as local paths and rsync:// mirrors.
> Specifies optional flags to feed into the createrepo tool, which is called when "cobbler reposync" is run for the
> given repository. The defaults are '-c cache'.
> +=item arch
> +Specifies what architecture the repository should use. By default the current system arch is used when
> +"cobbler reposync" is called. Using this to override the default arch allows mirroring of source
> +repositories (using --arch=src)
Typically wrap command lines in 'C<..>' eg C<cobbler reposync> to make
them monospaced font when POD is convereted to HTML
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the et-mgmt-tools