Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 7. Configuring Satellite to provision from a Red Hat Image Builder image
In Satellite, you can enable integration with the RHEL web console to perform actions and monitor your hosts. Using the RHEL web console, you can access Red Hat Image Builder and build images. Afterwards, you can use these images to provision hosts.
Additional resources
- Host management and monitoring by using the RHEL web console in Managing hosts
7.1. Provisioning from a Red Hat Image Builder image on Capsule Link kopierenLink in die Zwischenablage kopiert!
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 individual ISO images and files 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_liveimg
with 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_keys
parameter 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.
7.2. Provisioning from a Red Hat Image Builder image on an HTTP server Link kopierenLink in die Zwischenablage kopiert!
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_liveimg
with 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.
7.3. Packages required in a Red Hat Image Builder image Link kopierenLink in die Zwischenablage kopiert!
For the use in Satellite, the Red Hat Image Builder image must contain the following minimum of packages:
-
NetworkManager
-
authselect
-
chrony
-
dnf
-
dracut
-
efibootmgr
-
firewalld
-
grub2
-
grub2-efi
-
grub2-tools-extra
-
insights-client
– required only if you plan to use Insights reporting -
iproute
-
iputils
-
kernel
-
kernel-core
-
lvm2
-
subscription-manager
-
wget