From 12ca1fb126aa783d2df41d1d5c112a96ac6aafb3 Mon Sep 17 00:00:00 2001 From: Habibutsu Date: Tue, 27 May 2014 11:22:24 +0300 Subject: 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 --- priv/templates/simplenode.runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv') 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 -- cgit v1.2.1