第 6 章 Deploying RHEL bootc images
You can deploy RHEL bootc images by various methods, depending on your target environment, installation method, and automation requirements.
6.1. Available methods for deploying RHEL bootc images 复制链接链接已复制到粘贴板!
With RHEL image mode, you have multiple installation paths to deploy bootc-based systems.
You can choose the installation method that best fits your infrastructure and deployment requirements.
Anaconda- You can use RHEL installer and Kickstart to install the layered image directly to bare metal or virtual machines by using Anaconda with Kickstart automation. This does not required a customized ISO image.- Anaconda installation - Suitable for bare metal, virtual machines, and cloud instances deployment.
- PXE - You can use existing Anaconda PXE boot environments with modified Kickstart configurations.
bootc-image-builder- You can usebootc-image-builderto convert container images to a bootc image, or create pre-configured disk images, and deploy them to a bare metal or to a cloud environment. The following bootc image types are available:-
ISO: Unattended installation method, by using a USB drive or
Install-on-boot. - QCOW2 (QEMU copy-on-write, virtual disk)
-
Raw (
.dmg) - AMI (Amazon Cloud)
-
ISO: Unattended installation method, by using a USB drive or
-
bootc install- You can usebootc installto install a bootc image onto a target system. Thebootc installhandles tasks such as partitioning, setting up the boot loader, and extracting the content of the image to make it bootable.
The installation method happens only one time. After you deploy your image, any future updates will apply directly from the container registry as the updates are published.
图 6.1. Deploying a bootc image by using a basic build installer bootc install, or deploying a container image by using Anaconda and Kickstart
图 6.2. Using bootc-image-builder to create disk images from bootc images and deploying disk images in different environments, such as the edge, servers, and clouds, by using Anaconda, bootc-image-builder, or bootc install