Comment 3 for bug 1528861

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1528861] Re: cryptsetup can not coexist with console-common

On Thu, Dec 24, 2015 at 09:20:31AM -0000, Steven Shiau wrote:
> Thanks.

> The reason we need to use install-keymap is it's easier to do that in
> unattended mode, i.e. e.g. to set the French keyboard, just use:
> install-keymap /usr/share/keymaps/i386/azerty/fr-latin9.kmap.gz

> So if console-common is obsolete, is that possible to use console-setup
> and keyboard-configuration to configure the keymap in unattended,
> non-interactive way? If so, that would be great. Appreciate.

For an image that accepts debconf preseeding at installation time, you can
do so with the following settings:

  keyboard-configuration/layoutcode fr
  keyboard-configuration/variantcode oss_latin9

There are various ways that this information can be fed into a live image
that doesn't use debconf for the keyboard configuration. For instance,
ubuntu-default-builder supports configuring the default keyboard for the
live image using i18n/keyboard.txt with a single line of 'fr oss_latin9'.