diff --git a/update-NebulaNodeCert b/update-NebulaNodeCert index 824a356..9fe8315 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