mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-10-04 07:34:09 +00:00
24 lines
490 B
Perl
24 lines
490 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
$self->root_console(tty => 4);
|
|
# Point at default repositories by modifying contentdir
|
|
# NOTE: This will leave repos pointing at primary dl server instead
|
|
# of mirrorlist.
|
|
script_run 'printf "pub/rocky\n" > /etc/dnf/vars/contentdir';
|
|
script_run 'dnf clean all';
|
|
script_run 'dnf repoinfo';
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|