Fixed fetching api_server address.
Change-Id: I5dab0baf1e65c62f82657d493525deba778f4169
This commit is contained in:
parent
386a3e2c2c
commit
f51a579c8a
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue