Skip to content

Commit 1950537

Browse files
committed
Setting VHD URL without referencing RHCOS file directly on GH
1 parent 17d9dee commit 1950537

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

modules/installation-azure-user-infra-uploading-rhcos.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,18 @@ in the Azure documentation.
5050
$ export ACCOUNT_KEY=`az storage account keys list -g ${RESOURCE_GROUP} --account-name ${CLUSTER_NAME}sa --query "[0].value" -o tsv`
5151
----
5252

53-
. Choose the {op-system} version to use and export the URL of its VHD to an
54-
environment variable:
53+
. Export the URL of the {op-system} VHD to an environment variable:
5554
+
5655
ifdef::azure[]
5756
[source,terminal]
5857
----
59-
$ export VHD_URL=`curl -s https://raw.githubusercontent.com/openshift/installer/release-4.9/data/data/rhcos.json | jq -r .azure.url`
58+
$ export VHD_URL=`openshift-install coreos print-stream-json | jq -r '.architectures.x86_64."rhel-coreos-extensions"."azure-disk".url'`
6059
----
6160
endif::azure[]
6261
ifdef::ash[]
6362
[source,terminal]
6463
----
65-
$ export COMPRESSED_VHD_URL=`curl -s https://raw.githubusercontent.com/openshift/installer/release-4.9/data/data/rhcos-amd64.json | jq -r '(.baseURI + .images.azurestack.path)'`
64+
$ export COMPRESSED_VHD_URL=`openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.artifacts.azurestack.formats."vhd.gz".disk.location'`
6665
----
6766
endif::ash[]
6867
+

0 commit comments

Comments
 (0)