From c463707b55c0b7ca192f4c93dbfed89e695cbcfa Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 17 Jul 2024 17:08:38 -0700 Subject: [PATCH] tests: Replace $stream with 10-stream Lorax doesn't use the variable substitution from the host so hard-code this in the repo files before passing them to lorax. Resolves: RHEL-31850 --- tests/scripts/run_tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 10fb11d..9dd5452 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -251,6 +251,10 @@ if [ -z "$REPOS" ]; then exit 1 fi +# The c10s tmt systems have started using $stream in the repo urls as of 6/2024, substitute +# 10-stream for this variable so that they can be passed to lorax +sed -i 's/$stream/10-stream/g' /etc/yum.repos.d/*.repo + # NOTE: We must use --nomacboot because the test system doesn't have the hfsplus fs available # Run lorax using the host's repository configuration file if [ ! -e "$BOOTISO" ]; then