Browse Source

NEWFILENAME var fix

master
HMSheets 3 years ago
parent
commit
6ba74be3c2
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)

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

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


Loading…
Cancel
Save