此内容没有您所选择的语言版本。

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.

Procedure

To create a Red Hat Image Builder image for Satellite, complete the following steps:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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 liveimg entry in the Kickstart Syntax Reference section of the Red Hat Enterprise Linux Installation Guide.
  7. Use scp or rsync to copy the image using SSH to the base operating system of Satellite Server.
  8. 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.

Procedure

To use the Red Hat Image Builder image with Anaconda Kickstart in Satellite, complete the following steps:

  1. In the Satellite web UI, navigate to Configure > Host Groups, and select the host group that you want to use.
  2. Click the Parameters tab, and then click Add Parameter.
  3. In the Name field, enter kickstart_liveimg.
  4. From the Type list, select string.
  5. In the Value field, enter the absolute path or a relative path in the following format custom/product/repository/image_name that points to the exact location where you store the image.
  6. 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.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.