Skip to content

Commit 11fae66

Browse files
author
Matthew Fisher
authored
Merge pull request #785 from bacongobbler/streamline-azure-quickstart
ref(azure/boot): export AZURE_DNS_PREFIX and use $HOME
2 parents c1201e3 + bd0b1d9 commit 11fae66

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/quickstart/provider/azure-acs

src/quickstart/provider/azure-acs/boot.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ Execute the command to deploy the cluster. The `dns-prefix` and `ssh-key-value`
6262

6363
```
6464
$ export AZURE_SERVICE_NAME=myacs
65+
$ export AZURE_DNS_PREFIX=mydnsprefix
6566
$ az acs create --resource-group="${AZURE_RG_NAME}" --location="${AZURE_DC_LOCATION}" \
6667
--orchestrator-type=kubernetes --master-count=1 --agent-count=1 \
6768
--agent-vm-size="Standard_D2_v2" \
6869
--admin-username="k8sadmin" \
69-
--name="${AZURE_SERVICE_NAME}" --dns-prefix="mydnsprefix" \
70-
--ssh-key-value @/home/myusername/.ssh/id_rsa.pub
70+
--name="${AZURE_SERVICE_NAME}" --dns-prefix="${AZURE_DNS_PREFIX}" \
71+
--ssh-key-value @$HOME/.ssh/id_rsa.pub
7172
```
7273

7374
> Note: When `az acs create` starts, the provisioning process runs in the background by first creating a service principal named ${AZURE_SERVICE_NAME} assigned appropriate permissions. After a few minutes the `az` command should return with information about the deployment created as shown below.

0 commit comments

Comments
 (0)