Improve test logic, to be sure

This commit is contained in:
Alan Marshall 2023-05-03 11:32:55 +01:00
parent 1bd07441d9
commit 37fc0b00bf
Signed by: alangm
GPG Key ID: 4DF85D1B967F51A6

View File

@ -99,7 +99,7 @@ sub run {
# we direct the installer to virtio-console1, and use
# virtio-console as a root console
select_console('virtio-console1');
if (get_var("DISTRI") eq "rocky" && (get_version_major() > 8)) {
if (get_var("DISTRI") eq "rocky" && (get_version_major() >= 9)) {
unless (wait_serial "Use text mode", timeout => 120) { die "Anaconda has not started."; }
type_string "2\n";
}