瀏覽代碼

minor changes

master
HMSheets 3 年之前
父節點
當前提交
fff0fae13e
共有 2 個文件被更改,包括 7 次插入7 次删除
  1. +6
    -6
      refresh-NebulaCA
  2. +1
    -1
      update-NebulaNodeCert

+ 6
- 6
refresh-NebulaCA 查看文件

@@ -87,11 +87,11 @@ case $key in
# shift # past argument
# shift # past value
# ;;
-i|--issuer)
ISSUER="$2"
shift # past argument
shift # past value
;;
# -i|--issuer)
# ISSUER="$2"
# shift # past argument
# shift # past value
# ;;
*) # unknown option
invalid_args_msg #catch all
;;
@@ -117,7 +117,7 @@ fi
if [[ $CERTISCASTATUS == true ]]; then
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "Node Name: ${CANAME}"
echo "Node IPs: ${ISSUER}"
#echo "Node IPs: ${ISSUER}"
#echo "Node Groups: ${NODEGROUPS[@]}"
echo "Certificate isCa Status: ${CERTISCASTATUS}"
echo "DateTime: ${DATETIME}"


+ 1
- 1
update-NebulaNodeCert 查看文件

@@ -19,7 +19,7 @@ case $key in
shift # past argument
shift # past value
;;
-r|--rootpath)
-r|--rootpath) # do not add a trailing '/'
ROOTPATH="$2"
shift # past argument
shift # past value


Loading…
取消
儲存