Score:0

How to set azerty keyboard in preseed.cfg

ua flag

I'm trying to install trough PXE, Ubuntu Desktop with a a preseed.cfg.

Everything is ok until the configuration of the keyboard. I tried this :

d-i debian-installer/language string fr
d-i debian-installer/country string FR
d-i debian-installer/locale string fr_FR.UTF-8

This 3 lines work perfectly ! But then...

# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select fr
d-i keyboard-configuration/layoutcode string fr
d-i console-keymaps-at/keymap select fr
d-i keyboard-configuration/variant select oss

But it doesn't work... Do you have any ideas on what's going on ? I tried to follow the preseed example from Debian : https://www.debian.org/releases/stable/example-preseed.txt

And from Ubuntu : https://help.ubuntu.com/lts/installation-guide/example-preseed.txt

But didn't find the problem...

Thank you for your help ! :)

ChanganAuto avatar
us flag
It seems to say "select fr". What "doesn't work" exactly?
ua flag
The keyboard-configuration/ commands doesn't work.. It is not take in account and i don't know why .. After PXE , after reboot the keyboard stay in qwerty and doesn't change in french, in azerty
Andrew Lowther avatar
jp flag
What does `localectl status` and `cat /etc/default/keyboard` show on the installed system?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.