[SOLVED] French Keyboard
-
- Beiträge: 12
- Registriert: 28 Sep 2010, 09:05
[SOLVED] French Keyboard
i don't know if you can help with this problem ; i would like to have the French keyboard in the miniroot.bz2 (/tftpboot/linux/miniroot.bz2)
i unzip the file and mount the miniroot and i create a "locale" file in /etc/default with LANG="fr_FR.UTF-8" but it doesn't work
thanks for your help
Dig
Re: French Keyboard
adding
Code: Alles auswählen
bootkbd=fr
opsi 3.4
Code: Alles auswählen
editing
/tftpboot/linux/pxelinux.cfg/install
Code: Alles auswählen
editing the server defaults with opsi-configed (managementinterface)
Propertyname
opsi-linux-bootimage.append
Bardo Wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
-
- Beiträge: 12
- Registriert: 28 Sep 2010, 09:05
Re: French Keyboard
i just add bootkbd=fr, but it's the same.
Code: Alles auswählen
label opsi
menu label Installation Windows avec OPSI
kernel opsi/vmlinuz-2.6.35.4
append ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr
Code: Alles auswählen
Nov 10 16:18:20 [opsiinit] opsi init script started
Nov 10 16:18:20 [opsiinit] opsi linux bootimage version: 20100901
Nov 10 16:18:20 [opsiinit] getBootParam(nodhcp): cmdline: ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr BOOT_IMAGE=opsi/vmlinuz-2.6.35.4
Nov 10 16:18:20 [opsiinit] boot param nodhcp=0
Nov 10 16:18:20 [opsiinit] getBootParam(hn): cmdline: ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr BOOT_IMAGE=opsi/vmlinuz-2.6.35.4
Nov 10 16:18:20 [opsiinit] boot param hn=
Nov 10 16:18:20 [opsiinit] getBootParam(lang): cmdline: ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr BOOT_IMAGE=opsi/vmlinuz-2.6.35.4
Nov 10 16:18:20 [opsiinit] boot param lang=
Nov 10 16:18:20 [opsiinit] loading keymap de-latin1-nodeadkeys
Nov 10 16:18:20 [opsiinit] setting language environment (LANG=de_DE.UTF8, LANGUAGE=de, LC_ALL=de_DE.UTF8)
Nov 10 16:18:20 [opsiinit] getNetworkDevices(): link forced
Nov 10 16:18:20 [opsiinit] getNetworkDevices(): device(s) found: , device(s) with link:
Nov 10 16:18:20 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 10 16:18:20 [opsiinit] no devices found, sleeping 3 seconds
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): link forced
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) found: eth0, device(s) with link: eth0
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) with link found, returning eth0
Nov 10 16:18:23 [opsiinit] device(s) found: eth0
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) found: eth0, device(s) with link: eth0
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) with link found, returning eth0
Nov 10 16:18:23 [opsiinit] using dhcp, adding entry for device eth0 to /etc/network/interfaces
Nov 10 16:18:26 [opsiinit] opsi init script ended
[3] [Nov 10 16:18:29] Locale not found: name 'LOCALE_DIR' is not defined (master.py|78)
thanks
dig
Re: French Keyboard
To do this, folow this tips :
http://www.thegeekstuff.com/2009/07/how ... nitrd-img/
( do this in root, to conserve good right )
in the file /etc/init.d/opsi , line 110, add lines " ==> ...... "
......
case "$LANGUAGE" in
en)
# English version
LOCALE="en_US.UTF8"
KEYMAP="us"
;;
==> fr)
==> # French version
==> LOCALE="fr_FR.UTF8"
==> KEYMAP="fr"
==> ;;
esac
2) in opsi-configed
Propertyname
opsi-linux-bootimage.append
add "lan=fr"
It woks for me
Re: French Keyboard
thanks for your reply cdubreuil
can you tell me where to add "lan=fr" in the second part ?
i think its always in the miniroot, but i can't find the opsi-configed
perhaps you use the 4.0 opsi version
Thanks
ENS de Lyon
[SOLVED] Re: French Keyboard
this is the file /etc/init.d/opsi in the miniroot.bz2
Code: Alles auswählen
LANGUAGE="$(getBootParam lang 2>/dev/null || true)"
logMessage "boot param lang=$LANGUAGE"
[ -n "$LANGUAGE" ] || LANGUAGE="fr"
# Localization
LOCALE="fr_FR.UTF8"
KEYMAP="fr"
case "$LANGUAGE" in
fr)
# French version
LOCALE="fr_FR.UTF8"
KEYMAP="fr"
;;
esac
ENS de Lyon
- j.schneider
- uib-Team
- Beiträge: 2050
- Registriert: 29 Mai 2008, 15:14
Re: [SOLVED] French Keyboard
It will be integrated in the next opsi-linux-bootimage version.
Greetings,
Jan Schneider
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de