I am creating a preseeding file for an automatic ubuntu 11.10 installation and I am having problems setting up the keyboard configuration. I need the keyboard to be configured as abnt2 so I added this to the file:
# Keyboard selection. # Disable automatic (interactive) keymap detection. d-i console-setup/ask_detect boolean false d-i keyboard-configuration/layoutcode string br d-i keyboard-configuration/modelcode abnt2
But the keyboard is set as us. And the first time I log into the new installation I get an "incomplete language support error".
What is the correct way of setting up an abnt2 keyboard layout?