Skip to content

Commit

Permalink
Merge pull request #20849 from ricardobranco777/centos10
Browse files Browse the repository at this point in the history
containers: Enable BCI tests on CentOS 10
  • Loading branch information
ricardobranco777 authored Dec 19, 2024
2 parents 1913c92 + 50c4010 commit a943fd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/containers/host_configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ sub run {
assert_script_run("dhclient -v");
script_retry("apt-get update -qq -y", timeout => $update_timeout);
} elsif ($host_distri eq 'centos') {
assert_script_run("dhclient -v");
# dhclient is no longer available in CentOS 10
script_run("dhclient -v");
script_retry("dnf update -q -y --nobest", timeout => $update_timeout);
} elsif ($host_distri eq 'rhel') {
script_retry("dnf update -q -y", timeout => $update_timeout);
Expand Down

0 comments on commit a943fd3

Please sign in to comment.