2 Installation

Describes how to install the OCK Image Builder utility.

OCK Image Builder must be installed on Oracle Linux 9, from the OCK Image Builder GitHub repository. The prerequisites are Podman, and the qemu-img utility.

  1. Install Podman.

    For information on installing Podman, see the Oracle Linux: Podman User's Guide.

  2. Install qemu-img.

    The qemu-img utility is used to manipulate Qcow2 images. Install qemu-ing from the ol9_kvm_utils repository.

    First, enable the repository:

    sudo dnf config-manager --enable ol9_kvm_utils

    Then, install qemu-img:

    sudo dnf install qemu-img
  3. Install Git.

    Install the Git client:

    sudo dnf install git -y
  4. Install OCK Image Builder.

    Clone the OCK Image Builder GitHub repository:

    git clone https://github.com/oracle-cne/ock-forge
  5. Install the OCK Configuration files:

    Clone the OCK Configuration GitHub repository. The examples in this guide assume that the configuration files are in the configs directory within the OCK Image Builder installation, so perform the clone from within the ock-forge directory.

    cd ock-forge
    git clone https://github.com/oracle-cne/ock