Configure: Take given REPO_URL and BRANCH to new installation

This commit is contained in:
Daniel unbrot Pätzold
2026-05-03 21:48:52 +02:00
parent b214880351
commit 48803d89a4
2 changed files with 26 additions and 1 deletions
+8
View File
@@ -51,6 +51,14 @@ do_configure() {
echo "=== System Configuration ==="
echo "Press Enter to keep the current value, or type a new one."
# If other Repo infos are given, set them first
if [[ ! -z $REPO_URL ]]; then
set_conf_var "REPO_URL" "$REPO_URL"
fi
if [[ ! -z $REPO_BRANCH ]]; then
set_conf_var "REPO_BRANCH" "$REPO_BRANCH"
fi
source "$( dirname "$0" )/setup_system.inc.sh"
VARS=("TLDOMAIN" "SERVERFQDN_IPA" "DOMAIN" "SERVERFQDN_NC" "IPAVAULTUSE" "IPAVAULTNAME" "DISTCONFIGPATH_SRC" "CLIENTADMINGROUP" )
for ELE in "${VARS[@]}"