Skip to content

Commit

Permalink
Merge pull request #4090 from jhixson74/master_azure_upi_base64_doc_u…
Browse files Browse the repository at this point in the history
…pdate

bug 1863026: docs/user/azure: remove newlines from base64 encoding in UPI install doc
  • Loading branch information
openshift-merge-robot committed Aug 25, 2020
2 parents bcdf7ab + 99b9f1c commit 4e0548c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/azure/install_upi.md
Expand Up @@ -344,7 +344,7 @@ Create the deployment using the `az` client:

```sh
export BOOTSTRAP_URL=`az storage blob url --account-name ${CLUSTER_NAME}sa --account-key $ACCOUNT_KEY -c "files" -n "bootstrap.ign" -o tsv`
export BOOTSTRAP_IGNITION=`jq -rcnM --arg v "3.1.0" --arg url $BOOTSTRAP_URL '{ignition:{version:$v,config:{replace:{source:$url}}}}' | base64 -w0`
export BOOTSTRAP_IGNITION=`jq -rcnM --arg v "3.1.0" --arg url $BOOTSTRAP_URL '{ignition:{version:$v,config:{replace:{source:$url}}}}' | base64 | tr -d '\n'`

az group deployment create -g $RESOURCE_GROUP \
--template-file "04_bootstrap.json" \
Expand All @@ -360,7 +360,7 @@ Copy the [`05_masters.json`](../../../upi/azure/05_masters.json) ARM template lo
Create the deployment using the `az` client:

```sh
export MASTER_IGNITION=`cat master.ign | base64`
export MASTER_IGNITION=`cat master.ign | base64 | tr -d '\n'`

az group deployment create -g $RESOURCE_GROUP \
--template-file "05_masters.json" \
Expand Down Expand Up @@ -425,7 +425,7 @@ Copy the [`06_workers.json`](../../../upi/azure/06_workers.json) ARM template lo
Create the deployment using the `az` client:

```sh
export WORKER_IGNITION=`cat worker.ign | base64`
export WORKER_IGNITION=`cat worker.ign | base64 | tr -d '\n'`

az group deployment create -g $RESOURCE_GROUP \
--template-file "06_workers.json" \
Expand Down

0 comments on commit 4e0548c

Please sign in to comment.