From f6492a2c5f11943e3fb06f06db9c9942fcf03bcd Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 29 Dec 2025 23:50:41 -0600 Subject: [PATCH] changed defaults --- scripts/setup_wizard.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/setup_wizard.sh b/scripts/setup_wizard.sh index b102a87..8562de0 100755 --- a/scripts/setup_wizard.sh +++ b/scripts/setup_wizard.sh @@ -148,12 +148,12 @@ fi # 1. Collect Inputs # Example: get_input "HOST_NAME" "Enter Hostname" "$(hostname)" "false" -get_input "CERT_DIR" "Enter directory for certificates" "/var/lib/ssl" "false" -get_input "CERT_LOCATION" "Enter specific path for cert" "${CERT_DIR}/cert.pem" "false" -get_input "KEY_LOCATION" "Enter specific path for private key" "${CERT_DIR}/key.pem" "false" +get_input "CERT_DIR" "Enter directory for certificates" "/var/lib/tls" "false" +get_input "CERT_LOCATION" "Name for cert file" "cert.pem" "false" +get_input "KEY_LOCATION" "Name for private key" "key.pem" "false" -export CERT_LOCATION=$(readlink -f $CERT_LOCATION) -export KEY_LOCATION=$(readlink -f $KEY_LOCATION) +export CERT_LOCATION=$(readlink -f ${CERT_DIR}/$CERT_LOCATION) +export KEY_LOCATION=$(readlink -f ${CERT_DIR}/$KEY_LOCATION) # 2. Confirm confirm_inputs "CERT_LOCATION" "KEY_LOCATION"