make-isoΒΆ

NAME

make-iso -- Create an ISO file from a yum repo.

USAGE

make-iso

[-h] <RPM-SOURCE> [ISOFILE]

DESCRIPTION

This is a low-level tool that creates an ISO file, optionally named ISOFILE, from a yum repo file or from collection of RPMs from RPM-SOURCE.

The tool resides in /opt/scyld/clusterware-installer/make-iso.

<RPM-SOURCE> OPTIONS

--from-yum

Mirror RPMs from the baseurl(s) in /etc/yum.repos.d/clusterware.repo.

--rpm-dir DIR

Copy the RPMs from the directory DIR.

--yum-repo REPOFILE

Parse a specific repo file REPOFILE for RPM sources.

OPTIONAL ARGUMENTS

-h, --help

Print usage message and exit. Ignore trailing args, parse and ignore preceding args.

EXAMPLES

(Note that make-iso resides in /opt/scyld/clusterware/installer/)

make-iso --yum-repo /tmp/clusterware.repo

Use the RPMs identified by the yum repo file /tmp/clusterware.repo to create an ISO named clusterware.iso.

make-iso --from-yum

Equivalent to make-iso --yum-repo /etc/yum.repos.d/clusterware.repo.

make-iso --yum-repo /tmp/clusterware.repo cw12.1.iso

Use the RPMs identified by the yum repo file /tmp/clusterware.repo to create an ISO named cw12.1.iso.

make-iso --rpm-dir /mnt/clusterware/12.0/el7 cw12.0.iso

Use the RPMs found in /mnt/clusterware/12.0/el7/ to create an ISO named cw12.0.iso.

RETURN VALUES

Upon successful completion, make-iso returns 0. On failure, an error message is printed to stderr and make-iso returns 1.