|
9 | 9 |
|
10 | 10 | .Prerequisites |
11 | 11 |
|
12 | | -* You have installed the OpenShift CLI (`oc`). |
| 12 | +* You have installed the {oc-first}. |
13 | 13 |
|
14 | 14 | * You have logged in to the hub cluster as a user with `cluster-admin` privileges. |
15 | 15 |
|
16 | | -* You have {rh-rhacm} with MultiClusterHub enabled. |
| 16 | +* You have {rh-rhacm} with `MultiClusterHub` enabled. |
17 | 17 |
|
18 | 18 | .Procedure |
19 | 19 |
|
20 | 20 | . Enable the `Provisioning` resource to watch all namespaces and configure mirrors for disconnected environments. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html/clusters/cluster_mce_overview#enable-cim[Enabling the central infrastructure management service]. |
21 | 21 |
|
22 | | -. Update the `AgentServiceConfig` CR by running the following command: |
| 22 | +. Open the `AgentServiceConfig` CR to update the `spec.osImages` field by running the following command: |
23 | 23 | + |
24 | 24 | [source,terminal] |
25 | 25 | ---- |
26 | 26 | $ oc edit AgentServiceConfig |
27 | 27 | ---- |
28 | 28 |
|
29 | | -. Add the following entry to the `items.spec.osImages` field in the CR: |
| 29 | +. Update the `spec.osImages` field in the `AgentServiceConfig` CR: |
30 | 30 | + |
31 | 31 | [source,yaml,subs="attributes+"] |
32 | 32 | ---- |
33 | | -- cpuArchitecture: x86_64 |
34 | | - openshiftVersion: "{product-version}" |
35 | | - rootFSUrl: https://<host>/<path>/rhcos-live-rootfs.x86_64.img |
36 | | - url: https://<host>/<path>/rhcos-live.x86_64.iso |
| 33 | +apiVersion: agent-install.openshift.io/v1beta1 |
| 34 | +kind: AgentServiceConfig |
| 35 | +metadata: |
| 36 | + name: agent |
| 37 | +spec: |
| 38 | +# ... |
| 39 | + osImages: |
| 40 | + - cpuArchitecture: x86_64 |
| 41 | + openshiftVersion: "{product-version}" |
| 42 | + rootFSUrl: https://<host>/<path>/rhcos-live-rootfs.x86_64.img |
| 43 | + url: https://<host>/<path>/rhcos-live.x86_64.iso |
37 | 44 | ---- |
38 | 45 | + |
39 | 46 | where: |
40 | 47 | + |
41 | 48 | -- |
42 | | -<host> :: Is the fully qualified domain name (FQDN) for the target mirror registry HTTP server. |
43 | | -<path> :: Is the path to the image on the target mirror registry. |
| 49 | +`<host>` :: Specifies the fully qualified domain name (FQDN) for the target mirror registry HTTP server. |
| 50 | +`<path>` :: Specifies the path to the image on the target mirror registry. |
44 | 51 | -- |
45 | | -+ |
46 | | -Save and quit the editor to apply the changes. |
| 52 | + |
| 53 | +. Save and quit the editor to apply the changes. |
0 commit comments