Netboot "ubuntu" ignoriert Propery "console_keymap"

magicalUnicorn
Beiträge: 201
Registriert: 07 Mär 2019, 14:46

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von magicalUnicorn »

Ich hab mal etwas durchgetestet, siehe Unten. Bei mir heißt das Property auch "console_keymap" und ich kann da nur "us" und nicht "en" auswählen.

1.language "de" + console_keymap "de-latin1-nodeadkeys" = Englisches Keyboard
2. language "en" + console_keymap "de-latin1-nodeadkeys" = Englisches Keyboard
3. language "de "+ console_keymap "us" = Englisches Keyboard
4. language "en" + consolte_keymap "us" = Englisches Keyboard

Also irgendwas ist da definitiv nicht richtig. In "debconf-show keyboard-configuration":

keyboard-configuration/layout ist immer "English (US)"
keyboard-configuration/variant ist in 1 z.B. auch "English (US)"
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von m.radtke »

Moin

was für einen Virtualisierer benutzt du?

Habe jetzt verschiedene Kombinationen getestet und hatte jedes mal die gewollte Tastatur Belegung.
PS: französisches Layout ist anders wild

Gruß
Mathias


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


magicalUnicorn
Beiträge: 201
Registriert: 07 Mär 2019, 14:46

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von magicalUnicorn »

Moin,

ist KVM unter Oracle. Ich kann das ganze aber auch gerne nochmal auf physischen Kisten testen. Davon haben wir (win11 sei dank) genug rumstehen :D
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von m.radtke »

Bitte teste es mal unter einer anderen Virtualisierung oder auf Blech.
Nutze hier Proxmox und da läuft es.

Gruß
Mathias


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


magicalUnicorn
Beiträge: 201
Registriert: 07 Mär 2019, 14:46

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von magicalUnicorn »

m.radtke hat geschrieben: 25 Apr 2025, 09:47 Bitte teste es mal unter einer anderen Virtualisierung oder auf Blech.
Nutze hier Proxmox und da läuft es.

Gruß
Mathias
Ich habs grade mit nem Dell Optiplex getestet. console_keymap latin.... language en und ich bekomme auch da qwerty als layout in der shell
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von m.radtke »

Lässt du zufällig noch ein Produkt über "setup_after_install" laufen?

Gruß
Mathias


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


magicalUnicorn
Beiträge: 201
Registriert: 07 Mär 2019, 14:46

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von magicalUnicorn »

Ich hab in setup_after_install was drin stehen, das wird auch auf setup gesetzt. Da aber die automatisch Installation vom opsi-client-agent nicht klappt, läuft im anschluss nix automatisch durch bis wir den client händisch installieren.

Auf Blech bekomme ich mit console_keymap latin und language de auch das englische layout... :( Aus dem Bootlog dazu:

Code: Alles auswählen

[7] [2025-04-25 08:42:32.306] [               ] >>> /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Setting locale failed.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Please check that your locale settings:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LANGUAGE = "en",   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LC_ALL = "en_US.UTF8",   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LANG = "en_US.UTF8"   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     are supported and installed on your system.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Falling back to the standard locale ("C").   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> locale: Cannot set LC_CTYPE to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> locale: Cannot set LC_MESSAGES to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> locale: Cannot set LC_ALL to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Setting locale failed.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Please check that your locale settings:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LANGUAGE = "en",   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LC_ALL = "en_US.UTF8",   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LANG = "en_US.UTF8"   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     are supported and installed on your system.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Falling back to the standard locale ("C").   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> locale: Cannot set LC_CTYPE to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> locale: Cannot set LC_MESSAGES to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> locale: Cannot set LC_ALL to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> * locales/default_environment_locale:  de_DE.UTF-8   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>   locales/locales_to_be_generated:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Setting locale failed.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>> perl: warning: Please check that your locale settings:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LANGUAGE = "en",   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LC_ALL = "en_US.UTF8",   (Posix.py:1016)
[7] [2025-04-25 08:42:32.306] [               ] >>>     LANG = "en_US.UTF8"   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>     are supported and installed on your system.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> perl: warning: Falling back to the standard locale ("C").   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> locale: Cannot set LC_CTYPE to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> locale: Cannot set LC_MESSAGES to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> locale: Cannot set LC_ALL to default locale: No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> Generating locales (this might take a while)...   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   de_DE.UTF-8... done   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   en_US.UTF-8... done   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> Generation complete.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> #  File generated by update-locale   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> LANG=de_DE.UTF-8   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> LANG=de_DE.UTF-8   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> LANGUAGE=de   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> LC_ALL=de_DE.UTF-8   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> LANG=de_DE.UTF-8   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> /tmp/doit.sh: line 17: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8): No such file or directory   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> WARNING: tempfile is deprecated; consider using mktemp instead.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> WARNING: tempfile is deprecated; consider using mktemp instead.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> WARNING: tempfile is deprecated; consider using mktemp instead.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> WARNING: tempfile is deprecated; consider using mktemp instead.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   keyboard-configuration/store_defaults_in_debconf_db: true   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> * keyboard-configuration/layoutcode:  de-latin1-nodeadkeys   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   console-setup/detect:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   keyboard-configuration/switch: No temporary switch   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   keyboard-configuration/toggle: No toggling   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   keyboard-configuration/modelcode: pc105   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   keyboard-configuration/ctrl_alt_bksp: false   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> * keyboard-configuration/xkb-keymap:  de-latin1-nodeadkeys   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>> * keyboard-configuration/layout: English (US)   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   debian-installer/console-setup-udeb/title:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   console-setup/ask_detect: false   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   console-setup/detected:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.307] [               ] >>>   keyboard-configuration/other:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/unsupported_config_layout: true   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/altgr: The default for the keyboard layout   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/unsupported_config_options: true   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/optionscode:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/compose: No compose key   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/unsupported_layout: true   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/unsupported_options: true   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>> * keyboard-configuration/variant: English (US)   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/model: Generic 105-key PC   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>>   keyboard-configuration/variantcode:   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>> Your console font configuration will be updated the next time your system   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>> boots. If you want to update it now, run 'setupcon' from a virtual console.   (Posix.py:1016)
[7] [2025-04-25 08:42:32.308] [               ] >>> update-initramfs: deferring update (trigger activated)   (Posix.py:1016)
SirTux
Beiträge: 607
Registriert: 05 Feb 2011, 18:37

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von SirTux »

Ich würde auf l-os-postinst tippen.
magicalUnicorn
Beiträge: 201
Registriert: 07 Mär 2019, 14:46

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von magicalUnicorn »

SirTux hat geschrieben: 29 Apr 2025, 11:25 Ich würde auf l-os-postinst tippen.
Kannst du mir auf die Sprünge helfen, wo ich die datei finde bzw was ich darin ändern muss? :D
SirTux
Beiträge: 607
Registriert: 05 Feb 2011, 18:37

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"

Beitrag von SirTux »

Es gibt / gab von UIB ein Localboot-Produkt l-os-postinst. Wird das bei dir ausgeführt?
Antworten