Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion edge_manager/edge_mgr_build_images.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ Build the operating system image with `bootc` that contains the {rhem} agent. Yo
* Host configuration
* Application workloads that you need
*Note:* You must build the operating system image on a Red Hat Enterprise Linux host that has the required entitlement for the specified `rhacm` repository.

Complete the following steps:

. Create a `Containerfile` file with the following content to build a Red Hat Enterprise Linux based operating system image that includes the {rhem} agent and configuration. Replace `rhacm-<2.x>` and `rhel-<version>` with the version of the products that you are using:
Expand All @@ -151,7 +153,7 @@ Complete the following steps:
----
FROM registry.redhat.io/rhel9/rhel-bootc:<required_os_version> <1>
RUN subscription-manager repos --enable rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
RUN dnf config-manager --set-enabled rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
dnf -y install flightctl-agent && \
dnf -y clean all && \
systemctl enable flightctl-agent.service && \
Expand Down
8 changes: 6 additions & 2 deletions edge_manager/edge_mgr_build_images_platform.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ When building operating system images and disk images for {ocp-virt}, you can fo
* Add the `open-vm-tools` guest tools to the image.
* Build a disk image of type `qcow2` instead of `iso`.

*Note:* You must build the operating system image on a Red Hat Enterprise Linux host that has the required entitlement for the specified `rhacm` repository.

Complete the generic steps with changes to the following steps:

. Build an operating system image that is based on RHEL 9 that includes the {rhem} agent and virtual machine guest tools, but excludes the agent configuration.
Expand All @@ -26,7 +28,7 @@ Complete the generic steps with changes to the following steps:
----
FROM registry.redhat.io/rhel9/bootc-image-builder:latest

RUN subscription-manager repos --enable rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
RUN dnf config-manager --set-enabled rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
dnf -y install flightctl-agent && \
dnf -y clean all && \
systemctl enable flightctl-agent.service
Expand Down Expand Up @@ -115,6 +117,8 @@ When building operating system images and disk images for VMware vSphere, you ca

Build an operating system image that is based on RHEL 9 that includes the {rhem} agent and VM guest tools, but excludes the agent configuration.

*Note:* You must build the operating system image on a Red Hat Enterprise Linux host that has the required entitlement for the specified `rhacm` repository.

Complete the generic steps with changes to the following steps:

. Create a file that is named `Containerfile` with the following content. Replace `rhacm-<2.x>` and `rhel-<version>` with the version of the products that you are using:
Expand All @@ -124,7 +128,7 @@ Complete the generic steps with changes to the following steps:
----
FROM registry.redhat.io/rhel9/bootc-image-builder:latest

RUN subscription-manager repos --enable rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
RUN dnf config-manager --set-enabled rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
dnf -y install flightctl-agent && \
dnf -y clean all && \
systemctl enable flightctl-agent.service && \
Expand Down