From e6fa95c8360ac20e8c96e4421eaa9889e526f9fe Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Oct 06 2021 15:00:05 +0000 Subject: Modify installation source repositories for RHEL Related: rhbz#2006718 --- diff --git a/tests/dirinstall/dirinstall.sh b/tests/dirinstall/dirinstall.sh index 9bbae66..95a8f15 100755 --- a/tests/dirinstall/dirinstall.sh +++ b/tests/dirinstall/dirinstall.sh @@ -13,9 +13,9 @@ source ./repositories TEST_KICKSTART=./ks.dirinstall.cfg # Dump URLs of installation repositories found in local repositories whose names are configured in 'repositories' file -echo "url --metalink=$(dnf repoinfo $BASE_REPO | grep ^Repo-metalink | cut -d: -f2- | sed 's/^ *//')" > ${KICKSTART_PATH} +echo "url --url=$(dnf repoinfo $BASE_REPO | grep ^Repo-baseurl | cut -d: -f2- | sed 's/^ *//')" > ${KICKSTART_PATH} for repo in $REPOS; do - echo "repo --name=$repo --metalink=$(dnf repoinfo $repo | grep ^Repo-metalink | cut -d: -f2- | sed 's/^ *//')" >> ${KICKSTART_PATH} + echo "repo --name=$repo --baseurl=$(dnf repoinfo $repo | grep ^Repo-baseurl | cut -d: -f2- | sed 's/^ *//')" >> ${KICKSTART_PATH} done cat ${TEST_KICKSTART} >> ${KICKSTART_PATH} diff --git a/tests/dirinstall/repositories b/tests/dirinstall/repositories index 9fee07a..5cc527f 100644 --- a/tests/dirinstall/repositories +++ b/tests/dirinstall/repositories @@ -1,4 +1,4 @@ # Names of local repositories whose urls will be used for installation -# Repositories for "Fedora X" release: -BASE_REPO="fedora" -REPOS="fedora-modular" +# Repositories for rhel in gating testing environment (vm image): +BASE_REPO="rhel" +REPOS="rhel-AppStream"