Merge "Fixed fetching api_server address."

This commit is contained in:
Jenkins 2016-09-08 20:56:43 +00:00 committed by Gerrit Code Review
commit ed15631bac
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ Set the CLI to use TLS . This env var is consumed by docker.::
Set the correct host to use which is the public ip address of swarm API server
endpoint. This env var is consumed by docker.::
export DOCKER_HOST=$(magnum cluster-show swarm-cluster | awk '/ api_address /{print substr($4,9)}')
export DOCKER_HOST=$(magnum cluster-show swarm-cluster | awk '/ api_address /{print substr($4,7)}')
Next we will create a container in this swarm cluster. This container will ping
the address 8.8.8.8 four times::