diff options
author | Habibutsu <habibutsu@gmail.com> | 2014-05-27 11:22:24 +0300 |
---|---|---|
committer | Habibutsu <habibutsu@gmail.com> | 2014-05-27 11:22:24 +0300 |
commit | 12ca1fb126aa783d2df41d1d5c112a96ac6aafb3 (patch) | |
tree | 050e68439cb9a024a12197143c4e75d953f496aa /priv/templates | |
parent | 755c6023d181b4aa87a581ac71e96d2de90a015f (diff) |
Error 'Command not found' when sname is used
When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
Diffstat (limited to 'priv/templates')
-rwxr-xr-x | priv/templates/simplenode.runner | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner index 595a1ea..3e9e10f 100755 --- a/priv/templates/simplenode.runner +++ b/priv/templates/simplenode.runner @@ -100,7 +100,7 @@ case "$REMSH_NAME" in *) REMSH_NAME_PART="$REMSH_NAME" if [ "$REMSH_TYPE" = "-sname" ]; then - REMSH_HOSTNAME_PART= "$HOSTNAME" + REMSH_HOSTNAME_PART="$HOSTNAME" else # -name type, check if `hostname` is fqdn if [ "$MAYBE_FQDN_HOSTNAME" = "$HOSTNAME" ]; then |