mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
don't wait for dnf system-upgrade reboot
command to return
because it won't.
This commit is contained in:
parent
f95e1d55a8
commit
b129bf5487
@ -19,7 +19,7 @@ sub run {
|
||||
upload_logs "/var/log/dnf.log";
|
||||
upload_logs "/var/log/dnf.rpm.log";
|
||||
|
||||
script_run "dnf system-upgrade reboot";
|
||||
script_run "dnf system-upgrade reboot", 0;
|
||||
# fail immediately if we see a DNF error message
|
||||
die "DNF reported failure" if (check_screen "upgrade_fail", 15);
|
||||
if (get_var("ENCRYPT_PASSWORD")) {
|
||||
|
Loading…
Reference in New Issue
Block a user