To configure the keyboard layout in ESXi 5, you can use ESXCLI.
To list the available keyboard layout use:
~ # esxcli system settings keyboard layout list
Layout
--------------
Belgian
Brazilian
Croatian
Czech
Danish
Estonian
Finnish
French
German
Greek
Icelandic
Italian
Japanese
Latin American
Norwegian
Polish
Portuguese
Russian
Slovenian
Spanish
Swedish
Swiss French
Swiss German
Turkish
US Default
US Dvorak
Ukrainian
United Kingdom
To set to Swiss German it would be:
~ # esxcli system settings keyboard layout set -l "Swiss German"
You also have the option to not persist to ensure it works by specifying the --no-persist flag (use --help for more details)
keymap=<keymap>
sg — Swiss German
sg-latin1 — Swiss German (latin1)
Hi Mouhamad
This command is not recognized by esxi-5:
>unknown command "keymap=sg"
any other suggestions
Thanks
Hi,
Is it accepting other languages?
Regards,
Hi
as documented in VMware help the keyboard in esx5 ks.cfg will be set with the "keyboard" command.
>keyboard german
... as an example will work fine, but I have to use swiss german
>keyboard sg
.. does I have tryed now, ist not working: "unsupported keyboard type"
thanks
best regards
Have you tried
keyboard swiss-german
or
keyboard swissgerman
?
yes, all tested - none going
Unfortunetly it looks like the language is not supported.
... not supported by unattend only?? after installing its possible to change
so no way?
Thanks
best regards
Please try
keyboard de_CH-latin1
(Just a guess, because after installation there is a file named de_CH-latin1.map.gz in the directory /usr/share/keymaps ...
- Andreas
Hi Andreas
no way, "not supported" again.
Is it possible to add a "first run" script to the deployment to set things like this?
thanks for vour help
Damian
To configure the keyboard layout in ESXi 5, you can use ESXCLI.
To list the available keyboard layout use:
~ # esxcli system settings keyboard layout list
Layout
--------------
Belgian
Brazilian
Croatian
Czech
Danish
Estonian
Finnish
French
German
Greek
Icelandic
Italian
Japanese
Latin American
Norwegian
Polish
Portuguese
Russian
Slovenian
Spanish
Swedish
Swiss French
Swiss German
Turkish
US Default
US Dvorak
Ukrainian
United Kingdom
To set to Swiss German it would be:
~ # esxcli system settings keyboard layout set -l "Swiss German"
You also have the option to not persist to ensure it works by specifying the --no-persist flag (use --help for more details)
Hi
This tip is great, you have to add the command @ firstboot. So its possible to modify all of the needed settings. Its also possible to set the hostname and explicit dns server which is also not possible within the standard section.
I added folowing to achieve the keyboard settings:
%firstboot --interpreter=busybox
esxcli system settings keyboard layout set -l "Swiss German"
thank you very much
Best regards
Damian