Skip to content

Commit

Permalink
get VHD_URL with openshift-install coreos print-stream-json
Browse files Browse the repository at this point in the history
  • Loading branch information
MayXuQQ committed Dec 16, 2021
1 parent 2d4c504 commit 13608d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/azure/install_upi_azurestack.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ storage blob.
First, download and decompress the VHD, note that the decompressed file is 16GB:

```sh
$ 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)')
$ export COMPRESSED_VHD_URL=$(openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.artifacts.azurestack.formats."vhd.gz".disk.location')
$ $ curl -O -L $COMPRESSED_VHD_URL
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
Expand Down

0 comments on commit 13608d8

Please sign in to comment.