forked from obel1x/fedora-OEMDRV
Configure: Take given REPO_URL and BRANCH to new installation
This commit is contained in:
@@ -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[@]}"
|
||||
|
||||
Reference in New Issue
Block a user