Browse Source

fixed print param of nebula-cert command

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

+ 1
- 1
update-NebulaNodeCert View File

@@ -34,7 +34,7 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
#fi #fi


NODENAME=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s .[].details.name) NODENAME=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s .[].details.name)
NODEIPS=$(${NEBULACERTBINPATH} -path ${CERTPATH} -json | jq -s .[].details.ips)
NODEIPS=$(${NEBULACERTBINPATH} 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