Difficulty: Beginner
Estimated Time: 10 minutes

Goal:

After completing this scenario, users will be able to create customized Red Hat Enterprise Linux images using Image Builder plugin within Web Console.

Concepts included in this scenario:

  • Creating a custom blueprint to use for machine image creation
  • Building a custom Red Hat Enterprise Linux machine image
  • Monitoring the image build process

Example Usecase:

Using Image Builder to make system images would be a consistent, repeatable way to build the same installed system, but output the image to different cloud formats for use in a hybrid cloud environment.

Author: Jenn Giardino, Interaction Designer (Red Hat)

Using Image Builder

Step 1 of 9

Step 1

Prerequisite setup

Prior to getting started with image builder, the software must first be installed.

yum install -y cockpit-composer lorax-composer composer-cli

Now that the software is installed, restart the web console so that it picks up the newly installed plugin for image builder. Also, you will enable the service that manages the build queue and other aspects of image builder.

systemctl restart cockpit; systemctl enable --now lorax-composer.service

Lastly, in the next steps, you will use a non-administrative user, rhel, to manage the image blueprints and build machine images. This user must belong to the weldr group.

usermod -a -G weldr rhel