diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 70f19efa..19f3d76d 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -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"; }