index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Werner Llácer <wllacer@gmail.com> | 2022-02-03 00:02:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 00:02:30 +0100 |
commit | 3cd7dc24c7ebe8911978380d75fd79e0c581060a (patch) | |
tree | 1aa329b24f0eb41289f3b60d67218604e49b5873 /archinstall/lib/installer.py | |
parent | 389feef035cfbb1bd2c4f8be070fa085c088f151 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 6a580ac0..cde1ec1d 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -914,7 +914,7 @@ class Installer: # Setting an empty keymap first, allows the subsequent call to set layout for both console and x11. from .systemd import Boot with Boot(self) as session: - session.SysCommand(["localectl", "set-keymap", '""']) + os.system('/usr/bin/systemd-run --machine=archinstall --pty localectl set-keymap ""') if (output := session.SysCommand(["localectl", "set-keymap", language])).exit_code != 0: raise ServiceException(f"Unable to set locale '{language}' for console: {output}") |