瀏覽代碼

NEWFILENAME var change

master
HMSheets 3 年之前
父節點
當前提交
f9fd1bf684
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      update-NebulaNodeCert

+ 1
- 1
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."


Loading…
取消
儲存