Creating ISO Images for Deployment

You must have a valid blueprint with the specifications you require for the image. This blueprint must be pushed or imported to Image Builder. To fulfill these requirements, see Creating a Blueprint or Editing a Blueprint.

Perform this procedure to create an ISO image which installs the OS on a bare metal system. At the end of the procedure, an .iso file is created that contains the following:

  • Standard Anaconda installer ISO
  • Embedded Oracle Linux system tar file
  • Kickstart file that installs the commit with the minimum default requirements

The installer ISO contains a preconfigured system image that you can use to install on a bare metal system.

  1. (Optional) Verify that the blueprint for the ISO image is in Image Builder.
    sudo composer-cli blueprints show myblueprint
  2. Create the ISO image.
    sudo composer-cli compose start myblueprint image-installer

    While the process is running in the background, the composer image's UUID is displayed.

  3. After the process ends, check the status of the image.
    sudo composer-cli compose info image-uuid

    The image's status indicates FINISHED when Image Builder has completed the build process.

  4. Download the ISO image file.
    sudo composer-cli compose image image-uuid

    The ISO image file contains a *.tar file which is the OS image to be installed on a system.

  5. (Optional) Mount the downloaded image and extract the contents.
    1. Mount the downloaded image.
      sudo mount -o ro iso-image /mnt

      iso-image includes the full path and the name of the ISO image file.

      The /mnt/ mount point contains the liveimag.tar.gz file.

    2. Extract the contents of the *.tar file
      tar xvf /mnt/liveimg.tar.gz
  6. Select the appropriate method for installing the OS.
    For example, you can use the ISO image as an installer when booting a system from a location where you want to automatically load the image to a hard disk. Otherwise, you can extract the image file, as described, and use this file to manually deploy the image to a target environment (such as a cloud environment, virtual machine, and so on).
    For more information about installing Oracle Linux 9, see Oracle Linux 9: Installing Oracle Linux.