Chapter 14. Provisioning Using a Red Hat Image Builder Image
You can use a provisioned host in Satellite to create a Red Hat Image Builder image and import the image to Satellite to use for host provisioning.
14.1. Creating an Image Using Red Hat Image Builder
To use a Red Hat Image Builder image in Satellite, create an image using Red Hat Image Builder, then transfer and upload the image to Satellite Server.
To create a Red Hat Image Builder image for Satellite, complete the following steps:
- On Satellite Server, add and synchronize any repositories that you want to use for provisioning. For more information, see Enabling Red Hat Repositories in the Content Management Guide.
- On Satellite Server, provision a host that can access any repositories that contain packages that you want to include in the image that you build.
- On the server where you want to create images, install Red Hat Image Builder. For more information, see the Installing Image Builder chapter in the Composing a customized RHEL system image guide.
- Create a blueprint for your custom image. For more information see the Creating an Image Builder blueprint with command-line interface procedure in the Composing a customized RHEL system image guide.
- Add the packages that you require to the blueprint. For more information, see Image Builder blueprint format in the Composing a customized RHEL system image guide.
Create the image with a file extension that is compatible with Anaconda Kickstart provisioning templates, for example
.tar. For a valid list of file extensions for Red Hat Image Builder, see Image Builder output formats in the Composing a customized RHEL system image guide. For more information about valid file extensions to use with Anaconda Kickstart, see the
liveimgentry in the Kickstart Syntax Reference section of the Red Hat Enterprise Linux Installation Guide.
rsyncto copy the image using SSH to the base operating system of Satellite Server.
- On Satellite Server, create a custom product, add a custom file repository to this product, and upload the image to the repository. For more information, see Importing Individual ISO Images and Files in the Content Management Guide.
14.2. Using a Red Hat Image Builder Image in Satellite
To use the Red Hat Image Builder image in Satellite, you must add the kickstart_liveimg parameter to a host group that you can later use with your preferred provisioning method.
For more information about creating host groups, see Creating a Host Group in the Managing Hosts guide.
To use the Red Hat Image Builder image with Anaconda Kickstart in Satellite, complete the following steps:
- In the Satellite web UI, navigate to Configure > Host Groups, and select the host group that you want to use.
- Click the Parameters tab, and then click Add Parameter.
In the Name field, enter
- From the Type list, select string.
In the Value field, enter the absolute path or a relative path in the following format
custom/product/repository/image_namethat points to the exact location where you store the image.
- Click Submit to save your changes.
You can use this image for bare metal provisioning and provisioning using a compute resource.
For more information about bare metal provisioning, see Chapter 6, Provisioning Bare Metal Hosts. For more information about provisioning with different compute resources, see the relevant chapter for the compute resource that you want to use.