The ock-forge Script

Describes the capabilities of the ock-forge shell script.

The primary component of OCK Image Builder is the ock-forge script. The ock-forge script generates a bootable OCK image from an rpm-ostree treefile. It requires that the target is a single block device using the standard partition layout. For more information, see Partition Layout.

Restriction:

Although the ock-forge script can build an image from any arbitrary treefile, it's only intended for use with OCK images.

The ock-forge script can output generated images in three different formats:

  • A Qcow2 image.

  • A Raw ISO image.

  • To a block device (physical disk).

In addition to generating the bootable image, ock-forge creates an OSTree container image. This container image is used by Oracle CNE to update nodes in a running cluster.