Pārlūkot izejas kodu

fixed bash vars

master
HMSheets pirms 3 gadiem
vecāks
revīzija
07512e9744
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      update-NebulaNodeCert

+ 2
- 2
update-NebulaNodeCert Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt