3.4. Configuring Satellite to provision from a Red Hat Image Builder image
You can use the RHEL web console integration to access Red Hat Image Builder and build images for host provisioning.
Additional resources
3.4.1. Provisioning from a Red Hat Image Builder image on Capsule
You can upload a Red Hat Image Builder image to Satellite and use this image to provision hosts by using network boot.
When you provision from a Red Hat Image Builder image, Anaconda installer partitions disks, downloads and mounts the image, and copies files over to a host.
Prerequisites
- An existing TAR image created by using Red Hat Image Builder in the RHEL web console. Ensure that your blueprint to build the image includes the required packages.
- If you want to use Capsule Server URL, then the referenced lifecycle environment, such as Library, must be synchronized to that Capsule Server. For more information, see Adding lifecycle environments to Capsule Servers in Installing Capsule Server.
Procedure
- On Satellite, create a custom product, add a custom file type repository to this product, and upload the image to the repository. For more information, see Importing an ISO image by using Satellite web UI in Managing content.
- In the Satellite web UI, navigate to Configure > Host Groups.
- Select the host group that you want to use.
- Click the Parameters tab, and then click Add Parameter.
- Create a parameter named
kickstart_liveimgwith type string and set the value to the full URL of the image location or the file name of the image inside a published content view, for example:- Full URL:
https://capsule.example.com/pulp/content/My_Organization_Label/Library/custom/My_Product_Label/My_Repository_Label/My_Image_Name.tar - Image file name:
My_Image_Name.tar
You can use the image file name only if the host is subscribed to a single content view and lifecycle environment, and the
kt_activation_keysparameter is defined for the host. The content view must be published.If a content source is assigned to the host, Satellite will use the content source Capsule of the host. If a content source is not assigned, Satellite will use Satellite Server.
- Full URL:
- Click Submit to save your changes.
Additional resources
3.4.2. Provisioning from a Red Hat Image Builder image on an HTTP server
You can upload a Red Hat Image Builder image to an HTTP server and use this image to provision hosts by using network boot.
When you provision from a Red Hat Image Builder image, Anaconda installer partitions disks, downloads and mounts the image, and copies files over to a host.
Prerequisites
- An existing TAR image created by using Red Hat Image Builder in the RHEL web console. Ensure that your blueprint to build the image includes the required packages.
Procedure
- Copy the image to an existing HTTP server that your hosts can reach.
- In the Satellite web UI, navigate to Configure > Host Groups.
- Select the host group that you want to use.
- Click the Parameters tab, and then click Add Parameter.
- Create a parameter named
kickstart_liveimgwith type string and set the value to the URL of the image location, such ashttps://webserver.example.com/path/My_Image_Name.tar. - Click Submit to save your changes.
Additional resources
3.4.3. Packages required in a Red Hat Image Builder image
For the use in Satellite, the Red Hat Image Builder image must contain the following minimum of packages:
NetworkManagerauthselectchronydnfdracutefibootmgrfirewalldgrub2grub2-efigrub2-tools-extrainsights-client– required only if you plan to use Red Hat Lightspeed reportingiprouteiputilskernelkernel-corelvm2subscription-managerwget