Skip to content

Commit de9e21d

Browse files
authored
Merge pull request #56119 from dfitzmau/OSDOCS-5022
OSDOCS-5022:Added missing step for Selecting an AMI section
2 parents 0ebdf85 + dcc62aa commit de9e21d

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

modules/installation-azure-marketplace-subscribe.adoc

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,39 @@ ifdef::ipi[]
129129
. Record the image details of your offer. You must update the `compute` section in the `install-config.yaml` file with values for `publisher`, `offer`, `sku`, and `version` before deploying the cluster.
130130
endif::ipi[]
131131
ifdef::upi[]
132-
. Record the image details of your offer. If you use the Azure Resource Manager (ARM) template to deploy your worker nodes, you can update `storageProfile.imageReference` by deleting the `id` parameter and adding the `offer`, `publisher`, `sku`, and `version` parameters using the values from your offer.
132+
. Record the image details of your offer. If you use the Azure Resource Manager (ARM) template to deploy your worker nodes:
133+
+
134+
.. Update `storageProfile.imageReference` by deleting the `id` parameter and adding the `offer`, `publisher`, `sku`, and `version` parameters by using the values from your offer.
135+
.. Specify a `plan` for the virtual machines (VMs).
136+
+
137+
.Example `06_workers.json` ARM template with an updated `storageProfile.imageReference` object and a specified `plan`
138+
+
139+
[source,json,subs="none"]
140+
----
141+
...
142+
"plan" : {
143+
"name": "rh-ocp-worker",
144+
"product": "rh-ocp-worker",
145+
"publisher": "redhat"
146+
},
147+
"dependsOn" : [
148+
"[concat('Microsoft.Network/networkInterfaces/', concat(variables('vmNames')[copyIndex()], '-nic'))]"
149+
],
150+
"properties" : {
151+
...
152+
"storageProfile": {
153+
"imageReference": {
154+
"offer": "rh-ocp-worker",
155+
"publisher": "redhat",
156+
"sku": "rh-ocp-worker",
157+
"version": "4.8.2021122100"
158+
}
159+
...
160+
}
161+
...
162+
}
163+
----
164+
133165
endif::upi[]
134166
ifdef::mapi[]
135167
. Record the image details of your offer, specifically the values for `publisher`, `offer`, `sku`, and `version`.

0 commit comments

Comments
 (0)