From 23cd40903782be88a35f82550341828607117c2f Mon Sep 17 00:00:00 2001 From: hms Date: Wed, 3 Feb 2021 14:04:28 -0800 Subject: [PATCH] more var fixes --- update-NebulaNodeCert | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-NebulaNodeCert b/update-NebulaNodeCert index 9fe8315..6a0c092 100644 --- a/update-NebulaNodeCert +++ b/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}" \ No newline at end of file