doc: document that retry-join values are URL encoded

Fixes #3417
This commit is contained in:
Frank Schroeder 2017-08-26 15:19:11 +02:00
parent e22aa7a251
commit a0b974620c
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 3 additions and 1 deletions

View File

@ -228,7 +228,9 @@ will exit with an error at startup.
[go-discover](https://github.com/hashicorp/go-discover) library for doing
automatic cluster joining using cloud metadata. To use retry-join with a
supported cloud provider, specify the configuration on the command line or
configuration file.
configuration file as a `key=value key=value ...` string. The values need to
be URL encoded but for most practical purposes you need to replace spaces
with `+` signs.
```sh
$ consul agent -retry-join "provider=my-cloud config=val ..."