浏览代码

fixed bash vars

master
HMSheets 3 年前
父节点
当前提交
07512e9744
共有 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}"

正在加载...
取消
保存