瀏覽代碼

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

Loading…
取消
儲存