mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 00:53: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:
parent
9aa83cffd1
commit
47b2855d55
@ -6,7 +6,7 @@ use utils;
|
|||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
# upgrader should be installed on up-to-date system
|
# 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;
|
script_run "reboot", 0;
|
||||||
|
|
||||||
# handle bootloader, if requested
|
# handle bootloader, if requested
|
||||||
|
Loading…
Reference in New Issue
Block a user