We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 56721a6 + 55c6d15 commit ec7440eCopy full SHA for ec7440e
lib/Utils/Backends.pm
@@ -64,6 +64,10 @@ sub save_serial_console {
64
my $serialconsole = get_var('SERIALCONSOLE', '');
65
return if ($serialconsole ne '');
66
$serialconsole = get_var('SERIALDEV', 'ttyS1');
67
+ if ($serialconsole eq 'sshserial') {
68
+ record_info('Reset SERIALCONSOLE to ttyS1', 'Because SERIALCONSOLE has no value and SERIALDEV is sshserial');
69
+ $serialconsole = 'ttyS1';
70
+ }
71
set_var('SERIALCONSOLE', $serialconsole);
72
bmwqemu::save_vars();
73
}
0 commit comments