Preeseeding Ubuntu 18.04 language and keyboard settings does not work
by Mangosniper from LinuxQuestions.org on (#5473Z)
Hello everyone,
first thing, I tried to use the search function, but it seems to not like me:
Attachment 33323
I am trying to preseed my ubuntu-18.04.4-server-amd64 based custom ISO. However, after trying some combinations of language, locale and location I always still get asked for all these settings:
Attachment 33324
I tried my own settings, which are right now
Code:#### Contents of the preconfiguration file (for stretch)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string en
d-i debian-installer/country string DE
d-i debian-installer/locale string en_US.UTF-8
# Optionally specify additional locales to be generated.
d-i localechooser/supported-locales multiselect de_DE.UTF-8
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select de
# To select a variant of the selected layout:
d-i keyboard-configuration/xkb-keymap select nodeadkeys
#d-i keyboard-configuration/toggle select No togglingBut also tried just for refference a pressed file from someone else:
https://gist.github.com/CalvinHartwe...7c583539a10859
Same behaviour. Here is also the console output of the installation when I choose the menu entry with my preseed file upt to the point where I get the "Select a language" screen:
Attachment 33327
Therefore my questions:
1. Am I doing something wrong in general?
2. Is there somewhere a list with all possible values I can set for a given preseed option? e.g. how should I know what I can set for "d-i keyboard-configuration/xkb-keymap" and what not. I dont even know if "nodeadkeys" is correct but merely guessed it from the text based interactive installer.
Attached Thumbnails


first thing, I tried to use the search function, but it seems to not like me:
Attachment 33323
I am trying to preseed my ubuntu-18.04.4-server-amd64 based custom ISO. However, after trying some combinations of language, locale and location I always still get asked for all these settings:
Attachment 33324
I tried my own settings, which are right now
Code:#### Contents of the preconfiguration file (for stretch)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string en
d-i debian-installer/country string DE
d-i debian-installer/locale string en_US.UTF-8
# Optionally specify additional locales to be generated.
d-i localechooser/supported-locales multiselect de_DE.UTF-8
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select de
# To select a variant of the selected layout:
d-i keyboard-configuration/xkb-keymap select nodeadkeys
#d-i keyboard-configuration/toggle select No togglingBut also tried just for refference a pressed file from someone else:
https://gist.github.com/CalvinHartwe...7c583539a10859
Same behaviour. Here is also the console output of the installation when I choose the menu entry with my preseed file upt to the point where I get the "Select a language" screen:
Attachment 33327
Therefore my questions:
1. Am I doing something wrong in general?
2. Is there somewhere a list with all possible values I can set for a given preseed option? e.g. how should I know what I can set for "d-i keyboard-configuration/xkb-keymap" and what not. I dont even know if "nodeadkeys" is correct but merely guessed it from the text based interactive installer.
Attached Thumbnails