Installing Image Builder

Describes how to install Image Builder.

Image Builder isn't automatically included in an Oracle Linux installation. This task describes how to install and configure Image Builder.

  1. Install the Image Builder packages.

    Enter the following command to install the required packages:

    sudo dnf install -y osbuild-composer composer-cli cockpit-image-builder bash-completion

    Note:

    DNF uses composer-cli in the preceding command as a virtual provider to install weldr-client, which is the actual package that contains the composer-cli application.

  2. Enable the Image Builder service.

    Ensure that the Image Builder service starts automatically when the system boots:

    sudo systemctl enable --now osbuild-composer.socket
    sudo systemctl enable --now cockpit.socket
  3. (Optional) Enable autocompletion for the composer-cli command.

    Load the configuration script:

    source /etc/bash_completion.d/composer-cli
  4. (Optional) Add the user to the weldr group.

    To run composer-cli commands without root privileges, add the user to the weldr group:

    sudo usermod -a -G weldr username
    newgrp weldr