grinder man page

grinder — Grinder Content Synchronization tool

Synopsis

grinder [command] [options] labels

Description

grinder is a command line utility to synchronize content (rpms & kickstart files). It allows content to be synchronized from yum repositories or Red Hat Network(RHN).

Commands

Unless the --help or -h option is given, one of the following commands must be present.

yum [options]

Synchronizes content from yum repositories.

rhn [options]

Synchronizes content from Red Hat Network(RHN).

help [command]

Displays the help content for a given command or for all commands if left blank.

General Options

-h, --help

Display a help message and exit.

Yum Options

--debug

Debug level.

--label

Repo label.

-U, --url

URL to fetch the content bits from.

-P, --parallel

Number of parallel connections to use.

-b, --basepath

Directory to store fetched content in.

--cacert

Path to location of CA Certificate.

--cert

Path to location of Client SSL Certificate.

--key

Path to location of Client Certificate Key.

RHN Options

-a, --all

Fetch all packages, old and new.

-b, --basepath

Path to store downloaded files

-c, --cert

Satellite certificate

-C, --config

Configuration file

-k, --kickstarts

Synchronize kickstarts

-K, --skippackages

Skip synchronizing packages

-L, --listchannels

List all channels which are authorized to be synchronized

-p, --password

Password, only required if activating

-P, --parallel

Number of parallel connections to use

-r, --removeold

After synchronization scan through rpms and remove those that are old

-s, --systemid

systemid used to authenticate to Red Hat Network

-u, --username

Username, only required if activating

-U, --url

URL to Red Hat Network

Examples

grinder rhn -L

Lists all channels which can be synchronized

 grinder rhn rhel-i386-server-5 rhel-i386-server-vt-5

Synchronize packages from channel 'rhel-i386-server-5' & 'rhel-i386-server-vt-5'

 grinder rhn -k rhel-i386-server-5 rhel-i386-server-vt-5

Synchronize packages and kickstarts from channel 'rhel-i386-server-5' & 'rhel-i386-server-vt-5'

 grinder yum --basepath /tmp --label test-f12 --url http://download.fedora.redhat.com/pub/fedora/linux/releases/12/Everything/x86_64/os/

Synchronize packages from a fedora repo

 grinder yum --base /tmp --label test-rhel --cacert /etc/pki/cds-trusted-ssl-cert --cert /etc/pki/entitlement/rhel.pem --key /etc/pki/entitlement/key.pem --url https://content.redhat.com/pub/rhel-i386-server-5

Synchronize packages from an authenticated repo

Files

/etc/grinder/grinder.conf

Authors

John Matthews <jmatthews@redhat.com>
Mike McCune <mmccune@redhat.com>
Pradeep Kilambi <pkilambi@redhat.com>
Jeff Ortel <jortel@redhat.com>