Sfoglia il codice sorgente

minor changes

master
HMSheets 3 anni fa
parent
commit
fff0fae13e
2 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. +6
    -6
      refresh-NebulaCA
  2. +1
    -1
      update-NebulaNodeCert

+ 6
- 6
refresh-NebulaCA Vedi 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 Vedi 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


Caricamento…
Annulla
Salva