fix: update total prompt count in configure_env.sh to reflect changes in fixed prompts
This commit is contained in:
@@ -64,8 +64,8 @@ get_env_val() {
|
||||
# ---------------------------------------------------------------------------
|
||||
# Prompt function
|
||||
# ---------------------------------------------------------------------------
|
||||
# Base prompt count (fixed prompts + TLS conditional slots — repo/DB prompts added dynamically)
|
||||
TOTAL_PROMPTS=64
|
||||
# Base prompt count (58 fixed + 3 TLS conditional slots — repo/DB prompts added dynamically)
|
||||
TOTAL_PROMPTS=61
|
||||
CURRENT_PROMPT=0
|
||||
LAST_SECTION=""
|
||||
|
||||
@@ -363,9 +363,6 @@ prompt_var "GITHUB_MIRROR_INTERVAL" "How often Gitea pushes to GitHub" none
|
||||
|
||||
# --- RUNNERS ---
|
||||
prompt_var "RUNNER_DEFAULT_IMAGE" "Default container image for docker runners" nonempty "catthehacker/ubuntu:act-latest" "RUNNERS"
|
||||
prompt_var "RUNNER_DATA_BASE_PATH" "Base dir on remote hosts for runner data (host path)" nonempty "/mnt/nvme/gitea-runner" "RUNNERS"
|
||||
# shellcheck disable=SC2088 # tilde intentionally stored as literal (expanded at runtime)
|
||||
prompt_var "LOCAL_RUNNER_DATA_BASE_PATH" "Base dir on macOS for native runner data" nonempty "~/gitea-runner" "RUNNERS"
|
||||
prompt_var "LOCAL_REGISTRY" "Local registry prefix (empty = Docker Hub)" optional "" "RUNNERS"
|
||||
|
||||
# --- TLS / REVERSE PROXY (Caddy) ---
|
||||
|
||||
Reference in New Issue
Block a user