Le mardi 23 juin 2009 à 19:17 +0200, Robert Markula a écrit : > I've managed to successfully install Ubuntu 9.04 Jaunty (FAI > 3.2.4+svn4837) from a Debian Lenny Server (FAI 3.2.17). Everything works > well, except that the client's console keyboard layout is set to the > standard US layout by default. I've been struggling for quite a while > now, but I can't get it to automatically default to the german layout. > > I've set the following > > * in BC_BASE.var: > [snip] > KEYMAP=de-latin1-nodeadkeys > [snip] > > * in debconf/BC_BASE: > locales locales/default_environment_locale select de_DE.UTF-8 > locales locales/locales_to_be_generated multiselect de_DE.UTF-8 UTF-8 > xserver-xorg xserver-xorg/config/inputdevice/keyboard/layout string de > > * in package_config/BC_BASE: > PACKAGES aptitude > cfengine2 > console-common > debconf-utils > dhcp3-client > dnsutils > fai-client > german > grub > language-pack-de > less > locales > vim > > * and finally in scripts/BC_BASE/10-misc: > [snip] > # create keyboard layout table > $ROOTCMD bash -c "echo 'console-data console-data/keymap/full select > $KEYMAP' | debconf-set-selections" > $ROOTCMD install-keymap $KEYMAP || true > # dumpkeys | gzip -9f >$target/etc/console/boottime.kmap.gz > [snip] > > What am I missing? > > Cheers, > Robert
Hi, this is how I've managed to get French Keyboard on Ubuntu Hardy: File: /srv/fai/config/generic.new/scripts/LAST/47-ubuntu-keyboard #!/bin/bash if (ifclass UBUNTU); then fcopy /etc/default/console-setup $ROOTCMD /bin/setupcon --force --save fi File: /srv/fai/config/generic.new/files/etc/default/console-setup/UBUNTU # A configuration file for setupcon # Change to "yes" and setupcon will explain what is being doing VERBOSE_OUTPUT=no # Setup these consoles. Most people do not need to change this. ACTIVE_CONSOLES="/dev/tty[1-6]" # Put here your encoding. Valid charmaps are: UTF-8 ARMSCII-8 CP1251 # CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342 # ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 # ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13 # ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII CHARMAP="UTF-8" # The codeset determines which symbols are supported by the font. # Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian # Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3 # Vietnamese. Read README.fonts for explanation. CODESET="Lat15" # Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes # 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes # 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14 # and 16), Fixed (sizes 13, 14, 15, 16 and 18), Goha (sizes 12, 14 and # 16), GohaClassic (sizes 12, 14 and 16). FONTFACE="Fixed" FONTSIZE="16" # You can also directly specify nonstandard font and ACM to load: # FONT=/usr/local/share/funnyfonts/sarge16.psf # ACM=/usr/local/share/consoletrans/my_special_encoding.acm # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # in /etc/X11/xorg.conf. XKBMODEL="pc105" XKBLAYOUT="fr" XKBVARIANT="oss" XKBOPTIONS="" # Do not update the following md5 sum if you change # /etc/console-setup/boottime.kmap.gz and Debconf will not overwrite # your custom keymap. Do not update it even if you want to make # Debconf overwrite it. Instead simply specify the empty string as # a md5 sum. BOOTTIME_KMAP_MD5="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" Regards -- Mathieu Alorent Shell&Core Sophia-Antipolis AUSY Pour France Telecom – OPF/PORTAILS/DOP/HEBEX/SOPHIA Tél: 04 97 12 6226 [email protected] La signature de ce mail peut être vérifiée en installant les autorités de certifications CAcert suivantes : http://www.cacert.org/certs/root.crt http://www.cacert.org/certs/class3.crt
smime.p7s
Description: S/MIME cryptographic signature
