mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-27 08:03:08 +00:00
upgrade_run: add a -y to the reboot command
dnf 5 seems to need it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
19b8f8d172
commit
6cc668d4c3
@ -25,7 +25,7 @@ sub run {
|
|||||||
upload_logs "/var/log/dnf5.log", failok => 1;
|
upload_logs "/var/log/dnf5.log", failok => 1;
|
||||||
upload_logs "/var/log/dnf.rpm.log", failok => 1;
|
upload_logs "/var/log/dnf.rpm.log", failok => 1;
|
||||||
|
|
||||||
script_run "dnf system-upgrade reboot", 0;
|
script_run "dnf -y system-upgrade reboot", 0;
|
||||||
# fail immediately if we see a DNF error message, but keep an eye
|
# fail immediately if we see a DNF error message, but keep an eye
|
||||||
# out for the bootloader so we can handle it if requested
|
# out for the bootloader so we can handle it if requested
|
||||||
check_screen ["upgrade_fail", "bootloader"], 15;
|
check_screen ["upgrade_fail", "bootloader"], 15;
|
||||||
|
Loading…
Reference in New Issue
Block a user