Merge pull request #174 from AlanMarshall/serial_console_install

Improve test logic
This commit is contained in:
Alan Marshall 2023-05-03 19:20:21 +01:00 committed by GitHub
commit b8610823f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ sub run {
# we direct the installer to virtio-console1, and use # we direct the installer to virtio-console1, and use
# virtio-console as a root console # virtio-console as a root console
select_console('virtio-console1'); 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."; } unless (wait_serial "Use text mode", timeout => 120) { die "Anaconda has not started."; }
type_string "2\n"; type_string "2\n";
} }