Red Hat Satellite 6.19

Provisioning hosts

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

Procedure

  1. 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.
  2. In the Satellite web UI, navigate to Configure > Host Groups.
  3. Select the host group that you want to use.
  4. Click the Parameters tab, and then click Add Parameter.
  5. 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.

  6. 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

Procedure

  1. Copy the image to an existing HTTP server that your hosts can reach.
  2. In the Satellite web UI, navigate to Configure > Host Groups.
  3. Select the host group that you want to use.
  4. Click the Parameters tab, and then click Add Parameter.
  5. Create a parameter named kickstart_liveimg with type string and set the value to the URL of the image location, such as https://webserver.example.com/path/My_Image_Name.tar.
  6. 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: