diff --git a/tests/_live_build.pm b/tests/_live_build.pm index 46d20b2a..08bc8d97 100644 --- a/tests/_live_build.pm +++ b/tests/_live_build.pm @@ -22,6 +22,8 @@ sub run { assert_script_run "head -n-1 /etc/mock/fedora-${version}-${arch}.cfg >> /etc/mock/openqa.cfg"; # now add the side repo to the config assert_script_run 'printf "[advisory]\nname=Advisory repo\nbaseurl=file:///opt/update_repo\nenabled=1\nmetadata_expire=3600\ngpgcheck=0\n\"\"\"" >> /etc/mock/openqa.cfg'; + # replace metalink with mirrorlist so we don't get slow mirrors + assert_script_run "sed -i -e 's,metalink,mirrorlist,g' /etc/mock/openqa.cfg"; # upload the config so we can check it's OK upload_logs "/etc/mock/openqa.cfg"; # now check out the kickstarts