From 6ba74be3c20275232e3b1009c83c47d2c839ef82 Mon Sep 17 00:00:00 2001 From: hms Date: Wed, 3 Feb 2021 15:41:28 -0800 Subject: [PATCH] NEWFILENAME var fix --- update-NebulaNodeCert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-NebulaNodeCert b/update-NebulaNodeCert index 1fc6b45..0de82be 100644 --- a/update-NebulaNodeCert +++ b/update-NebulaNodeCert @@ -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."