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