Browse Source

minor changes

master
HMSheets 3 years ago
parent
commit
fff0fae13e
2 changed files with 7 additions and 7 deletions
  1. +6
    -6
      refresh-NebulaCA
  2. +1
    -1
      update-NebulaNodeCert

+ 6
- 6
refresh-NebulaCA View File

@@ -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 View File

@@ -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…
Cancel
Save