このコンテンツは選択した言語では利用できません。

Chapter 9. Using boot disks to provision hosts


Some hardware does not provide a PXE boot interface or your environment may not support network boot. In Satellite, you can provision a host without PXE boot. This is also known as PXE-less provisioning and involves generating a boot ISO that hosts can use. Using this ISO, the host can boot the installation media, connect to Capsule, and install the operating system.

Satellite also provides a PXE-less discovery service that operates without PXE-based services, such as DHCP and TFTP. For more information, see Section 10.4, “Discovery in PXE-less mode”.

9.1. Boot disk workflow

Using a boot disk to provision a host involves the following steps:

  1. Create a host entry in Satellite.
  2. Generate a boot disk ISO image.
  3. Boot your host from the ISO image.
  4. The host connects to Templates Capsule and starts installing the operating system.
  5. When the installation completes, the host registers to Satellite Server by using an activation key, performs necessary configuration, and installs management tools from the Red Hat Satellite Client 6 repository.

9.2. Boot disk types

You can generate the following types of boot disks:

Full host image

A boot ISO that contains the installer kernel and initial RAM disk image for a specific host. The boot loader on this image chain loads the installer directly from the image. This image is useful if the host fails to chain load from Satellite Server or Capsule Server correctly. The provisioning template still downloads from Satellite Server.

This image is based on SYSLINUX and GRUB and works with most network cards.

This image contains a provisioning security token, therefore the generated image has a limited lifespan. For more information about configuring the security token, see Section 6.1, “Configuring the security token validity duration”.

Subnet image

A boot ISO that is not associated with a specific host. You can use this image if you have an environment with multiple subnets, where hosts do not have access to Satellite Server but can access Capsule in the particular subnet. You can use this image to boot multiple hosts on the same subnet. The boot loader on this image chain loads the installer from the TFTP Capsule of the host.

The ISO sends the MAC address of the host to Capsule, which matches the MAC address against the host entry. The image does not store IP address details and requires access to a DHCP server on the network to bootstrap. This image is generic to all hosts with a provisioning NIC on the same subnet.

This image is based on iPXE boot firmware. Only a limited number of network cards is supported. For more information, see supported hardware drivers at ipxe.org.

9.3. Generating a full host boot disk

You can generate a full boot disk for a specific host.

To use the CLI instead of the Satellite web UI, see the CLI procedure.

Prerequisites

  • An activation key must be available for your host. For more information, see Managing Activation Keys in Managing content.
  • Red Hat Satellite Client 6 repository for the operating system version of the host is synchronized on Satellite Server and enabled in the activation key you use. For more information, see Importing Content in Managing content.

Procedure

  1. In the Satellite web UI, navigate to Hosts > Create Host.
  2. In the Name field, enter a name for the host.
  3. Optional: Click the Organization tab and change the organization context to match your requirement.
  4. Optional: Click the Location tab and change the location context to match your requirement.
  5. From the Host Group list, select a host group that you want to assign your host to. That host group will populate the form.
  6. Click the Interfaces tab, and on the interface of the host, click Edit.
  7. Verify that the fields are populated with values. Note in particular:

    • Satellite automatically assigns an IP address for the new host.
    • The Name from the Host tab becomes the DNS name.
    • Ensure that Satellite automatically selects the Managed, Primary, and Provision options for the first interface on the host. If not, select them.
  8. Click OK to save. To add another interface, click Add Interface. You can select only one interface for Provision and Primary.

    For more information about network interfaces, see Configuring network interfaces in Managing hosts.

  9. Click the Operating System tab. Verify that all fields contain correct values.
  10. Click Resolve in Provisioning Templates to check the new host can identify the right provisioning templates to use.

    For more information about associating provisioning templates, see Section 5.7, “Associating templates with operating systems”.

  11. On the Parameters tab, click Add parameter. Add a parameter named kt_activation_keys, select the string type, and enter the name of the activation key as the value. The activation key has to belong to the same organization as your host. You can also enter a comma-separated list of multiple activation keys.
  12. Click Submit to save the host details. This creates a host entry and the host details page appears.
  13. Download the boot disk from Satellite Server. On the host details page, click the vertical ellipsis and select Full host 'My_Host_Name' image.

CLI procedure

  1. Create a host:

    $ hammer host create \
    --build true \
    --enabled true \
    --hostgroup "My_Host_Group" \
    --location "My_Location" \
    --mac "My_MAC_Address" \
    --managed true \
    --name "My_Host_Name" \
    --organization "My_Organization"
    Copy to Clipboard Toggle word wrap
  2. Configure the network interface of your host:

    $ hammer host interface update \
    --host "My_Host_Name" \
    --managed true \
    --primary true \
    --provision true
    Copy to Clipboard Toggle word wrap
  3. Download the Full host image boot disk from Satellite Server:

    $ hammer bootdisk host \
    --full true \
    --host My_Host_Name
    Copy to Clipboard Toggle word wrap

9.4. Generating a subnet boot disk

You can generate a subnet boot disk.

To use the CLI instead of the Satellite web UI, see the CLI procedure.

Prerequisites

  • Ensure that the ipxe-bootimgs package is installed on your Capsule.

Procedure

  1. In the Satellite web UI, navigate to Infrastructure > Subnets.
  2. Click the dropdown menu in the Actions column of the required subnet.
  3. Select Subnet generic image.

CLI procedure

  • Generate the Subnet image boot disk:

    $ hammer bootdisk subnet --subnet My_Subnet_Name
    Copy to Clipboard Toggle word wrap

9.5. Deploying SSH keys during provisioning

Use this procedure to deploy SSH keys added to a user during provisioning. For information on adding SSH keys to a user, see Managing SSH Keys for a User in Administering Red Hat Satellite.

Procedure

  1. In the Satellite web UI, navigate to Hosts > Templates > Provisioning Templates.
  2. Create a provisioning template, or clone and edit an existing template. For more information, see Section 5.3, “Creating provisioning templates”.
  3. In the template, click the Template tab.
  4. In the Template editor field, add the create_users snippet to the %post section:

    <%= snippet('create_users') %>
    Copy to Clipboard Toggle word wrap
  5. Select the Default checkbox.
  6. Click the Association tab.
  7. From the Application Operating Systems list, select an operating system.
  8. Click Submit to save the provisioning template.
  9. Create a host that is associated with the provisioning template or rebuild a host using the operating system associated with the modified template. For more information, see Creating a Host in Managing hosts.

    The SSH keys of the Owned by user are added automatically when the create_users snippet is executed during the provisioning process. You can set Owned by to an individual user or a user group. If you set Owned by to a user group, the SSH keys of all users in the user group are added automatically.

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat