HMSheets 3 anni fa
parent
commit
e96546f446
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      update-NebulaNodeCert

+ 1
- 1
update-NebulaNodeCert Vedi File

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

NODENAME=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s .[].details.name | sed 's/["]//g')
NODEIPS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.ips | sed 's/[][]"]//g')
NODEIPS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.ips | sed 's/[]["]//g')

echo "Node Name: ${NODENAME}"
echo "Node IPs: ${NODEIPS}"

Caricamento…
Annulla
Salva