From bd0b1d955ae5c102ade03a141dab1351b7d79ed0 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Wed, 5 Apr 2017 13:16:40 -0700 Subject: [PATCH] ref(azure/boot): export AZURE_DNS_PREFIX and use $HOME This streamlines the docs to be easy to copy/paste the commands into a terminal. --- src/quickstart/provider/azure-acs/boot.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/quickstart/provider/azure-acs/boot.md b/src/quickstart/provider/azure-acs/boot.md index 3756673bb..0085d053f 100644 --- a/src/quickstart/provider/azure-acs/boot.md +++ b/src/quickstart/provider/azure-acs/boot.md @@ -62,12 +62,13 @@ Execute the command to deploy the cluster. The `dns-prefix` and `ssh-key-value` ``` $ export AZURE_SERVICE_NAME=myacs +$ export AZURE_DNS_PREFIX=mydnsprefix $ az acs create --resource-group="${AZURE_RG_NAME}" --location="${AZURE_DC_LOCATION}" \ --orchestrator-type=kubernetes --master-count=1 --agent-count=1 \ --agent-vm-size="Standard_D2_v2" \ --admin-username="k8sadmin" \ - --name="${AZURE_SERVICE_NAME}" --dns-prefix="mydnsprefix" \ - --ssh-key-value @/home/myusername/.ssh/id_rsa.pub + --name="${AZURE_SERVICE_NAME}" --dns-prefix="${AZURE_DNS_PREFIX}" \ + --ssh-key-value @$HOME/.ssh/id_rsa.pub ``` > 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.