Install and Configure Cockpit-Composer

Before Cockpit administrators can access and use the image builder functionality in the web console, the following tasks must be completed:
  • Image builder packages are installed and the image builder service is enabled.

    Note:

    The Image Builder packages aren't typically included during the Oracle Linux installation.
  • Verification that the cockpit-composer add-on application is installed and the Image Builder page is accessible from the web console.

What Do You Need?

  • The Cockpit web console must be installed and accessible.

    For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.

  • The following minimal system requirements must be met to run Image Builder:
    • 2-core processors
    • 4 GiB of memory
    • 20 GiB available disk space in the /var directory
    • Access to the Internet
    • Appropriate privileges for performing administrator tasks

    Note:

    A dedicated virtual machine can also serve as the environment for running image builder.

Steps

Follow these steps to ensure that the host is properly configured with the Oracle Linux image builder packages and the cockpit-composer add-on application.

  1. In the Cockpit web console, click Terminal in the navigation pane.
    The Terminal CLI page appears.
  2. In the Terminal CLI page, perform the following:
    1. Install the image builder packages. For example, type:
      sudo dnf install -y osbuild-composer composer-cli cockpit-composer bash-completion
    2. Enable the image builder service to automatically start after a system reboot. For example, type:
      sudo systemctl enable --now osbuild-composer.socket
  3. Perform the following steps to verify that the cockpit-composer application plugin is installed, and the Image Builder page is accessible from the web console.
    1. In the web console navigation pane, click Applications.
    2. In the Application page, find Image Builder, and then, click Install if the option to install Image Builder appears.

      Note:

      If the Install option doesn't appear, the cockpit-composer add-on application is already installed.
    3. In the web console navigation pane, click Image Builder. The Image Builder page appears.