Wrong info in the "Contents of the preconfiguration file (for natty)" page

Bug #800822 reported by Tobias Holm on 2011-06-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
installation-guide (Ubuntu)
Undecided
Unassigned

Bug Description

The parameter "console-setup/layoutcode=" has changed in Natty to "keyboard-configuration/layoutcode=".

Ref: http://sshrootat.blogspot.com/2011/04/preseeding-ubuntu-natty-1104.html

Ubuntu 11.04

Also, the link "http://help.ubuntu.com/11.04/installation-guide/example-preseed.txt" at the top of the page doesn't work.

I'm not sure the "console-setup/layoutcode" parameter is the problem. The problem I had was that the unattended installer asked for my keyboard layout when I tried using Swedish keyboard layout.

I have now found parameters that work for me in Ubuntu 11.04 Alternative CD for unattended installation without asking for anything, but I had to use US keyboard. The working "txt.cfg" file I use looks like this:

label unattended
  menu label ^Automatic CD-installation (US)
  kernel /install/vmlinuz
  append file=/cdrom/cd1104us.seed locale=us preseed/locale=us keyboard-configuration/layoutcode=us console-setup/ask_detect=false netcfg/wireless_wep= netcfg/choose_interface=auto netcfg/get_hostname= netcfg/get_domain= vga=788 initrd=/install/initrd.gz --

I'm not so sure this is a bug after all. How do I do to close/erase this bug report? Or does someone else have to close it?

Colin Watson (cjwatson) wrote :

No, I think you're right. I'll replace console-setup/layoutcode with keyboard-configuration/layoutcode in the Oneiric guide. I did try to add compatibility code for this but it caused other problems.

If you still can't figure out how to set a Swedish layout unattended (keyboard-configuration/layoutcode=se should work), then please file a separate bug on console-setup.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package installation-guide - 20100518ubuntu5

---------------
installation-guide (20100518ubuntu5) oneiric; urgency=low

  * Bump kernelversion to 3.0.
  * Remove some 2.6 kernel specifics.
  * Bump GNOME version to 3.0.
  * Bump release version and names for Oneiric.
  * Replace 'netcfg/disable_dhcp' with 'netcfg/disable_autoconfig'
    throughout. (We could probably do with some description of the new IPv6
    behaviour as well, but this is better than nothing.)
  * Replace 'console-setup/modelcode', 'console-setup/layoutcode', and
    'console-setup/variantcode' with 'keyboard-configuration/modelcode',
    'keyboard-configuration/layoutcode', and
    'keyboard-configuration/variantcode' respectively (LP: #800822).
 -- Colin Watson <email address hidden> Mon, 26 Sep 2011 16:06:37 +0100

Changed in installation-guide (Ubuntu):
status: New → Fix Released

Thanks for your help Colin!

I don't think I need a Swedish keyboard layout in the first step of the unattanded installation, because the only parameter I set is the computername, and that parameter only accepts english characters!

Anyway, if someone would like to enter the full username they might want to use localized keyboard layouts. I'll try to test this later when experimenting with unattended Oneric installations.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers