ubuntu-vm-builder VMs don't use local keymap

Bug #237616 reported by Thierry Carrez
0
Affects Status Importance Assigned to Milestone
ubuntu-vm-builder (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ubuntu-vm-builder

Version: 0.4-0ubuntu0.3

ubuntu-vm-builder doesn't have a --keymap option, it tries to carry out the host keymap settings so that the VM is configured with the same.
However, the settings are only partially copied, and the VM boots with a default (US qwerty) keymap.

Analysis :
u-v-b only copies /etc/default/console-setup but keeps /etc/console-setup intact.
At boot /etc/init.d/console-setup calls setupcon without the --save option (to save some boot time) so the /etc/console-setup directory is not updated.

Workaround :
Run "sudo /etc/init.d/console-setup restart" in the VM after first boot. When called outside the boot procedure, console-setup uses setupcon "--save" parameter so the /etc/console-setup is regenerated.

Solution :
Copy the /etc/console-setup directory from the host as part of VM creation. See attached patch.

Revision history for this message
Thierry Carrez (ttx) wrote :
Revision history for this message
Nick Barcet (nijaba) wrote :

Fix commited in trunk and intrepid.

Changed in ubuntu-vm-builder:
importance: Undecided → Medium
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in ubuntu-vm-builder:
status: Fix Committed → Fix Released
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.