From 07512e974404ed5d4e4f23193ebf630afbac986b Mon Sep 17 00:00:00 2001 From: hms Date: Wed, 3 Feb 2021 13:56:59 -0800 Subject: [PATCH] fixed bash vars --- update-NebulaNodeCert | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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