Sfoglia il codice sorgente

fixed bash vars

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

+ 2
- 2
update-NebulaNodeCert Vedi File

@@ -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}"

Caricamento…
Annulla
Salva