Seite 2 von 3
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 24 Apr 2025, 15:12
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)"
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 25 Apr 2025, 08:18
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
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 25 Apr 2025, 08:59
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

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 25 Apr 2025, 09:47
von m.radtke
Bitte teste es mal unter einer anderen Virtualisierung oder auf Blech.
Nutze hier Proxmox und da läuft es.
Gruß
Mathias
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 25 Apr 2025, 10:18
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
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 25 Apr 2025, 10:35
von m.radtke
Lässt du zufällig noch ein Produkt über "setup_after_install" laufen?
Gruß
Mathias
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 25 Apr 2025, 11:12
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)
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 29 Apr 2025, 11:25
von SirTux
Ich würde auf l-os-postinst tippen.
Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 06 Mai 2025, 08:43
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?

Re: Netboot "ubuntu" ignoriert Propery "console_keymap"
Verfasst: 06 Mai 2025, 12:30
von SirTux
Es gibt / gab von UIB ein Localboot-Produkt l-os-postinst. Wird das bei dir ausgeführt?