Browse Source

NEWFILENAME var change

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

+ 1
- 1
update-NebulaNodeCert View File

@@ -39,7 +39,7 @@ NODEGROUPS=($(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compa
CERTISCASTATUS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.isCa) CERTISCASTATUS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.isCa)


# Create new file name variable # Create new file name variable
NEWFILENAME="${NODENAME}-${DATETIME}"
NEWFILENAME="${NODENAME}_${DATETIME}"


if [[ $CERTISCASTATUS == true ]]; then if [[ $CERTISCASTATUS == true ]]; then
echo "Certificate is the root CA Certificate. Try again with a node certificate." echo "Certificate is the root CA Certificate. Try again with a node certificate."


Loading…
Cancel
Save