Adding inter server tests #148
@ -434,7 +434,13 @@ sub repos_mirrorlist {
|
|||||||
# have not been updated, and the infra repo is rejected as its
|
# have not been updated, and the infra repo is rejected as its
|
||||||
# metadata checksum isn't known to MM
|
# metadata checksum isn't known to MM
|
||||||
my $files = shift;
|
my $files = shift;
|
||||||
$files ||= "/etc/yum.repos.d/Rocky*.repo";
|
my $currentversion = get_var("CURRREL");
|
||||||
|
if ($currentversion eq '8') {
|
||||||
|
$files ||= "/etc/yum.repos.d/Rocky*.repo";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$files ||= "/etc/yum.repos.d/rocky*.repo";
|
||||||
|
}
|
||||||
assert_script_run "sed -i -e 's,metalink,mirrorlist,g' ${files}";
|
assert_script_run "sed -i -e 's,metalink,mirrorlist,g' ${files}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user