The problem still (or again) exists in at least Ubuntu Trusty, Xenial
and Artful. None of these Ubuntu versions show any reaction on trying to
set the keyboard layout.

Tried NO:
d-i console-setup/ask_detect false
d-i keyboard-configuration/layoutcode string no
d-i keyboard-configuration/layout select Norwegian
d-i keyboard-configuration/modelcode string pc105

Tried DE:
d-i console-setup/ask_detect false
d-i keyboard-configuration/layoutcode string de
d-i keyboard-configuration/layout select German
d-i keyboard-configuration/modelcode string pc105

The result is always US keyboard layout in /etc/default/keyboard:
XKBMODEL="pc105"
XKBLAYOUT=""
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1553147

Title:
  xenial preseed cannot set keyboard layout

Status in console-setup package in Ubuntu:
  Fix Released

Bug description:
  Using network booted preseed with the following lines to configure
  keyboard layout:

  d-i console-setup/ask_detect false
  d-i keyboard-configuration/layoutcode string de
  d-i keyboard-configuration/layout select German
  d-i keyboard-configuration/modelcode string pc105

  System comes up with US keyboard only (see screenshot).

  Content of /etc/default/keyboard:
  XKBMODEL="pc105"
  XKBLAYOUT=""
  XKBVARIANT=""
  XKBOPTIONS=""
  BACKSPACE="guess"

  Content of /etc/default/console-setup:
  ACTIVE_CONSOLES="/dev/tty[1-6]"
  CHARMAP="UTF-8"
  CODESET="guess"
  FONTFACE="Fixed"
  FONTSIZE="8x16"
  VIDEOMODE=

  The same preseed file works on wily and successfully configures a
  German keyboard layout.

  The full preseed file can be found at
  https://github.com/jschule/ubuntu/blob/gh-pages/preseed/jts.txt

  Please advice how to set German keyboard layout with preseed
  installation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1553147/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to