I took the ubuntu-14.04.2-server-amd64.iso and follow the documentation
https://help.ubuntu.com/community/InstallCDCustomization and use the
preseed localisation from the documentation https://help.ubuntu.com/lts
/installation-guide/amd64/apbs04.html

I edited the preseed/ubuntu-server.seed to add the following:

# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string fr_FR.UTF-8

# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string fr
d-i debian-installer/country string FR

# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string fr
# To select a variant of the selected layout (if you leave this out, the
# basic form of the layout will be used):
d-i keyboard-configuration/variantcode string oss

I build the custom ISO image and boot it in KVM and at reboot my
/etc/default/keyboard contains

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

The bug I found in localchooser is only responsible of printing a
message which should not be printed, so this fix is purely cosmetic.

Regards.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1450025

Title:
  Unable to preseed language

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/localechooser/+bug/1450025/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to