mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-12-01 13:26:01 +00:00
_do_install_and_reboot: defend against fr layout at console
With French install testing on lives, we *might* have a French layout loaded when we get to the postinstall stuff we do at a root console. Let's defend against that. If we don't, running "loqdkeys" will fail harmlessly. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
8286da9140
commit
1f63cd29eb
@ -190,6 +190,10 @@ sub run {
|
|||||||
# OK, if we're here, we got actions, so head to a console. Switch
|
# OK, if we're here, we got actions, so head to a console. Switch
|
||||||
# to console after liveinst sometimes takes a while, so 30 secs
|
# to console after liveinst sometimes takes a while, so 30 secs
|
||||||
$self->root_console(timeout => 30);
|
$self->root_console(timeout => 30);
|
||||||
|
if (get_var("LIVE") && get_var("LAYOUT") eq "french") {
|
||||||
|
# we may need to switch to us layout. if not this is harmless
|
||||||
|
type_string "loqdkeys us\n";
|
||||||
|
}
|
||||||
# this is something a couple of actions may need to know
|
# this is something a couple of actions may need to know
|
||||||
my $mount = "/mnt/sysimage";
|
my $mount = "/mnt/sysimage";
|
||||||
if (get_var("CANNED")) {
|
if (get_var("CANNED")) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user