Browse Source

more var fixes

master
HMSheets 3 years ago
parent
commit
23cd409037
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      update-NebulaNodeCert

+ 2
- 2
update-NebulaNodeCert View File

@@ -33,8 +33,8 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
# echo "IP Address = ${IPADDRESS}" # echo "IP Address = ${IPADDRESS}"
#fi #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 Name: ${NODENAME}"
echo "Node IPs: ${NODEIPS}" echo "Node IPs: ${NODEIPS}"

Loading…
Cancel
Save