Fix console keyboard layout in installedtest post_fail_hook
This should fix log collection when a French or Japanese test fails before the test itself would have done this. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
666cac410a
commit
4629e5b740
@ -31,6 +31,10 @@ sub post_fail_hook {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$self->root_console(tty=>6);
|
$self->root_console(tty=>6);
|
||||||
|
# fix up keyboard layout, if we failed before the test did this
|
||||||
|
# itself; if it's already been done, should be safe, will just
|
||||||
|
# fail and carry on
|
||||||
|
console_loadkeys_us;
|
||||||
}
|
}
|
||||||
|
|
||||||
# We can't rely on tar being in minimal installs, but we also can't
|
# We can't rely on tar being in minimal installs, but we also can't
|
||||||
|
Loading…
Reference in New Issue
Block a user