mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 06:31:26 +00:00
a caseinsensitive filename would be prefered but not working up to now
This commit is contained in:
parent
d8a05cd066
commit
20e89ccb48
@ -434,7 +434,13 @@ sub repos_mirrorlist {
|
||||
# have not been updated, and the infra repo is rejected as its
|
||||
# metadata checksum isn't known to MM
|
||||
my $files = shift;
|
||||
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}";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user