1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Add --refresh to force dnf synchronisation

because started qcow2 may be obsolete for update repo.

Note: despite deprecated "update" alias,
continue to use it rather than "upgrade" command.

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
Michel Normand 2017-03-22 09:06:03 -04:00
parent 9aa83cffd1
commit 47b2855d55

View File

@ -6,7 +6,7 @@ use utils;
sub run {
my $self = shift;
# upgrader should be installed on up-to-date system
assert_script_run 'dnf -y update', 1800;
assert_script_run 'dnf -y update --refresh', 1800;
script_run "reboot", 0;
# handle bootloader, if requested