diff --git a/docs/user/azure/install_upi.md b/docs/user/azure/install_upi.md index a0800f6b1a4..896d82db40f 100644 --- a/docs/user/azure/install_upi.md +++ b/docs/user/azure/install_upi.md @@ -194,22 +194,9 @@ export ACCOUNT_KEY=`az storage account keys list -g $RESOURCE_GROUP --account-na Given the size of the RHCOS VHD, it's not possible to run the deployments with this file stored locally on your machine. We must copy and store it in a storage container instead. To do so, first create a blob storage container and then copy the VHD. -Choose the RHCOS version you'd like to use and export the URL of its VHD to an environment variable. For example, to use the latest release available for the 4.3 version, use: - -```sh -export VHD_URL=`curl -s https://raw.githubusercontent.com/openshift/installer/release-4.3/data/data/rhcos.json | jq -r .azure.url` -``` - -If you'd just like to use the latest _development_ version available (master branch), use: - -```sh -export VHD_URL=`curl -s https://raw.githubusercontent.com/openshift/installer/master/data/data/rhcos.json | jq -r .azure.url` -``` - -Copy the chosen VHD to a blob: - ```sh az storage container create --name vhd --account-name ${CLUSTER_NAME}sa +export VHD_URL=$(openshift-install coreos print-stream-json | jq -r '.architectures.x86_64."rhel-coreos-extensions"."azure-disk".url') az storage blob copy start --account-name ${CLUSTER_NAME}sa --account-key $ACCOUNT_KEY --destination-blob "rhcos.vhd" --destination-container vhd --source-uri "$VHD_URL" ```