瀏覽代碼

more var fixes

master
HMSheets 3 年之前
父節點
當前提交
23cd409037
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      update-NebulaNodeCert

+ 2
- 2
update-NebulaNodeCert 查看文件

@@ -33,8 +33,8 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
# echo "IP Address = ${IPADDRESS}"
#fi

$NODENAME = ./nebula-cert print -path ${CERTPATH} -json | jq -s .[].details.name
$NODEIPS = ./nebula-cert print -path ${CERTPATH} -json | jq -s .[].details.ips
NODENAME=./nebula-cert print -path ${CERTPATH} -json | jq -s .[].details.name
NODEIPS=./nebula-cert print -path ${CERTPATH} -json | jq -s .[].details.ips

echo "Node Name: ${NODENAME}"
echo "Node IPs: ${NODEIPS}"

Loading…
取消
儲存