Chapter 11. Creating a customized RHEL bare metal image using Red Hat Image Builder
You can create customized RHEL ISO system images using the Red Hat Image Builder. You can then download these images and install them on a bare metal system as per your requirements.
11.1. Creating a customized RHEL ISO system image using Image Builder
Follow the steps to create custom RHEL .iso images using the Red Hat Image Builder.
Procedure
Access Red Hat Image Builder on the browser.
The Red Hat Image Builder dashboard opens.
Click Create image.
The Create image dialog wizard opens.
On the Image output page, complete the following steps:
- From the Release list, select the Release that you want to use: for example, choose Red Hat Enterprise Linux (RHEL).
From the Select target environments option, select Bare metal - Installer.
Click Next.
On the Registration page, select the type of registration that you want to use. You can select from these options:
- Register images with Red Hat - Register and connect image instances, subscriptions and insights with Red Hat. For details on how to embed an activation key and register systems on first boot, see Chapter 3, Creating a customized system image with an embed subscription using Red Hat Image Builder.
- Register image instances only - Register and connect only image instances and subscriptions with Red Hat.
Register later - Register the system after the image creation.
Click Next.
- Optional: On the Packages page, add packages to your image. See Chapter 4, Adding packages during image creation by Using Red Hat Image Builder.
- On the Name image page, enter a name for your image and click Next. If you do not enter a name, you can find the image you created by its UUID.
- On the Review page, review the details about the image creation and click Create image. Your image is created as a .iso image.
When the new image displays a Ready status in the Status column, click Download .iso image.
The .iso image is saved to your system and is ready for deployment.
NoteThe
.iso
images are available for 6 hours and expire after that. Ensure to download the image to avoid losing it.
11.2. Installing the customized RHEL ISO system image to a bare metal system
You can create a virtual machine (VM) from the .iso image that you created using the Red Hat Image Builder.
Prerequisites
- You created and downloaded a .iso image using the Image Builder.
- A 8 GB USB flash drive.
Procedure
- Access the directory where you downloaded your .iso image.
- Place the bootable ISO image file on a USB flash drive.
- Connect the USB flash drive to the port of the computer you want to boot.
- Boot the ISO image from the USB flash drive.
Perform the steps to install the customized bootable ISO image.
The boot screen shows you the following options:
- Install Red Hat Enterprise Linux 8
- Test this media & install Red Hat Enterprise Linux 8
Additional resources