You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: edge_manager/edge_mgr_build_images.adoc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,8 @@ Build the operating system image with `bootc` that contains the {rhem} agent. Yo
142
142
* Host configuration
143
143
* Application workloads that you need
144
144
145
+
*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.
146
+
145
147
Complete the following steps:
146
148
147
149
. 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:
@@ -151,7 +153,7 @@ Complete the following steps:
151
153
----
152
154
FROM registry.redhat.io/rhel9/rhel-bootc:<required_os_version> <1>
153
155
154
-
RUN subscription-manager repos --enable rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
156
+
RUN dnf config-manager --set-enabled rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
Copy file name to clipboardExpand all lines: edge_manager/edge_mgr_build_images_platform.adoc
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ When building operating system images and disk images for {ocp-virt}, you can fo
15
15
* Add the `open-vm-tools` guest tools to the image.
16
16
* Build a disk image of type `qcow2` instead of `iso`.
17
17
18
+
*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.
19
+
18
20
Complete the generic steps with changes to the following steps:
19
21
20
22
. 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.
@@ -26,7 +28,7 @@ Complete the generic steps with changes to the following steps:
26
28
----
27
29
FROM registry.redhat.io/rhel9/bootc-image-builder:latest
28
30
29
-
RUN subscription-manager repos --enable rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
31
+
RUN dnf config-manager --set-enabled rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
30
32
dnf -y install flightctl-agent && \
31
33
dnf -y clean all && \
32
34
systemctl enable flightctl-agent.service
@@ -115,6 +117,8 @@ When building operating system images and disk images for VMware vSphere, you ca
115
117
116
118
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.
117
119
120
+
*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.
121
+
118
122
Complete the generic steps with changes to the following steps:
119
123
120
124
. 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:
@@ -124,7 +128,7 @@ Complete the generic steps with changes to the following steps:
124
128
----
125
129
FROM registry.redhat.io/rhel9/bootc-image-builder:latest
126
130
127
-
RUN subscription-manager repos --enable rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
131
+
RUN dnf config-manager --set-enabled rhacm-<2.x>-for-rhel-<version>-$(uname -m)-rpms && \
0 commit comments