|
@@ -34,7 +34,7 @@ set -- "${POSITIONAL[@]}" # restore positional parameters |
|
|
#fi |
|
|
#fi |
|
|
|
|
|
|
|
|
NODENAME=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s .[].details.name | sed 's/["]//g') |
|
|
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 Name: ${NODENAME}" |
|
|
echo "Node IPs: ${NODEIPS}" |
|
|
echo "Node IPs: ${NODEIPS}" |