diff options
Diffstat (limited to 'defaults/src/vespa/defaults.h')
-rw-r--r-- | defaults/src/vespa/defaults.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/defaults/src/vespa/defaults.h b/defaults/src/vespa/defaults.h index d0b400ef563..c52a4511f4e 100644 --- a/defaults/src/vespa/defaults.h +++ b/defaults/src/vespa/defaults.h @@ -34,7 +34,10 @@ public: static const char *vespaUser(); /** - * Compute the host name that identifies myself + * Compute the host name that identifies myself. + * Detection of the hostname is now done before starting any Vespa + * programs and provided in the environment variable VESPA_HOSTNAME; + * if that variable isn't set a default of "localhost" is always returned. * @return the vespa host name **/ static const char *vespaHostname(); |