console-setup,fixes

This commit is contained in:
Marc Beninca 2022-12-30 10:38:12 +01:00
parent dc9e37c901
commit 0e5ea6f1ab

View file

@ -26,15 +26,20 @@ decide the desired type of system
---------------------------------
* will the system run
* 64 bits?
* 32 bits?
* both?
* will the system be run by
* a physical machine?
* a virtual machine?
* a container?
* a container inside a virtual machine?
* will the system be stored
* read-write, as a file system on a dedicated partition?
* read-only, as a single file loaded in RAM at boot time?
@ -201,6 +206,25 @@ switch into context
done
chroot '/squashfs-root'
define default console setup
----------------------------
* /usr/share/consolefonts
* /etc/default/console-setup
::
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="Lat15"
FONTFACE="Fixed"
FONTSIZE="8x16"
VIDEOMODE=
define default keyboard layout(s)
---------------------------------
@ -288,12 +312,11 @@ initialization settings
* /etc/sysctl.conf
Espace mémoire maximum allouable (à augmenter si hébergement de conteneurs)
Pourcentage de RAM disponible avant utilisation de la partition d’échange
.. code:: ini
# maximum mappable memory space for linux containers
vm.max_map_count=1048576
# percentage of RAM remaining before swap usage
vm.swappiness=0
install useful packages
@ -335,12 +358,12 @@ define root password
passwd
configure keyboard
^^^^^^^^^^^^^^^^^^
setup console
^^^^^^^^^^^^^
.. code:: shell
apt-get install keyboard-configuration
apt-get install console-setup
properly switch back from context
---------------------------------