From b3d91b1cbb94db950f6007df49beff5f5d167b07 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Fri, 17 Apr 2015 10:24:50 +0200 Subject: [PATCH] Doc: Change the wording a bit for the HOSTNAME environment variable I should have done this while merging #9474. --- docs/reference/setup/configuration.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/setup/configuration.asciidoc b/docs/reference/setup/configuration.asciidoc index 05041555505..7d0ad80e131 100644 --- a/docs/reference/setup/configuration.asciidoc +++ b/docs/reference/setup/configuration.asciidoc @@ -208,10 +208,10 @@ node: name: -------------------------------------------------- -The hostname of the machine is provided in an -environment variable, so you can set the node name -to the hostname, if on that machine you only run _a -single elasticsearch node_ for that cluster. +The hostname of the machine is provided in the environment +variable `HOSTNAME`. If on your machine you only run a +single elasticsearch node for that cluster, you can set +the node name to the hostname using the `${...}` notation: [source,yaml] --------------------------------------------------