1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-10 17:24:20 +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:
Adam Williamson 2024-08-14 22:01:15 -04:00
parent 19b8f8d172
commit 6cc668d4c3

View File

@ -25,7 +25,7 @@ sub run {
upload_logs "/var/log/dnf5.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
# out for the bootloader so we can handle it if requested
check_screen ["upgrade_fail", "bootloader"], 15;