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

Bug #800822 reported by Tobias Holm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
installation-guide (Ubuntu)
Fix Released
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

Revision history for this message
Tobias Holm (p-launchpad-eftprod-com) wrote :
Revision history for this message
Tobias Holm (p-launchpad-eftprod-com) wrote :

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

Revision history for this message
Tobias Holm (p-launchpad-eftprod-com) wrote :

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 --

Revision history for this message
Tobias Holm (p-launchpad-eftprod-com) wrote :

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?

Revision history for this message
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.

Revision history for this message
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
Revision history for this message
Tobias Holm (p-launchpad-eftprod-com) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.