Debian/Ubuntu: Configure keyboard & charset

On Ubuntu, console-setup, keyboard-configuration (a dependency of
console-setup), and locales are installed by default.  On Debian, we
need to install them manually.  (We were already doing so for locales.)

I merged the various dpkg-reconfigure lines into one to simplify.  The
order isn't important.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Robert <technic-take3>
Fixes #59
This commit is contained in:
Richard Laager
2020-12-05 16:55:07 -06:00
parent 605463d8dd
commit c94ee2cae4
2 changed files with 3 additions and 5 deletions

View File

@@ -592,13 +592,12 @@ Step 4: System Configuration
ln -s /proc/self/mounts /etc/mtab
apt update
apt install --yes console-setup locales
Even if you prefer a non-English system language, always ensure that
``en_US.UTF-8`` is available::
apt install --yes locales
dpkg-reconfigure locales
dpkg-reconfigure tzdata
dpkg-reconfigure locales tzdata keyboard-configuration console-setup
#. Install ZFS in the chroot environment for the new system::

View File

@@ -731,8 +731,7 @@ Step 4: System Configuration
Even if you prefer a non-English system language, always ensure that
``en_US.UTF-8`` is available::
dpkg-reconfigure locales
dpkg-reconfigure tzdata
dpkg-reconfigure locales tzdata keyboard-configuration console-setup
Install your preferred text editor::