commit 983a0d872bb61a59235f6cacf381b60e9ac23fc7
parent 93f4291e366a029af95641220db527f8af3a669f
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sat, 12 Feb 2022 20:08:13 +0100
vault-tls.sh: remove server hostnames dead code
Diffstat:
1 file changed, 0 insertions(+), 14 deletions(-)
diff --git a/vault-tls.sh b/vault-tls.sh
@@ -7,20 +7,6 @@
# set -o nounset
# set -o xtrace
-
-# Read server hostnames
-# VAULT_SERVER_NAMES="${1:?Error: specify server names as input param, e.g., \`./vault-tls.sh \"pi0 pi1 pi2\"\`}"
-
-# echo $VAULT_SERVER_NAMES
-# echo "${#VAULT_SERVER_NAMES[@]}"
-
-# VAULT_SAN="${2}"
-
-# echo "Running the script with:"
-# echo " Vault server names (CN): $VAULT_SERVER_NAMES"
-# echo " Vault service name (SAN): $VAULT_SAN"
-# echo
-
# https://www.shellhacks.com/yes-no-bash-script-prompt-confirmation/
# read -p "Do you want to generate a new set of Vault certicates in the directory \"./tls/vault/\" [y/N]? " -n 1 -r
read -p "Do you want to generate a new Vault CA certicate in the directory \"./tls/vault/\" [y/N]? " -n 1 -r