浏览代码

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
pull/3/head
Habibutsu 11 年前
父节点
当前提交
12ca1fb126
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      priv/templates/simplenode.runner

+ 1
- 1
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

正在加载...
取消
保存