Ask Your Question

Revision history [back]

HOSTNAME is a special environment variable that is not available for shell scripts. adding

export HOSTNAME

to my .bashrc fixed the problem.