How to change keyboard layout in Virtual Appliance
Introduction
By default, Agent for VMware (Virtual Appliance), Agent for Scale Computing HC3 and VPN appliance user interface use English keyboard layout. If you want to use a different keyboard layout, specify a required kernel parameter while booting the Virtual Appliance.
Solution
Method 1
- Reboot the Virtual Appliance
- When you see GNU GRUB screen, press A to modify the kernel arguments before booting:
- Add the required layout by adding the following to the list of the arguments:
LAYOUTS=<layout>
e.g. LAYOUTS=de-DE
-
Press Enter to accept changes and boot the Virtual Appliance
The specified keyboard layout will be active until the next Virtual Appliance reboot.
Method 2
- Install kbd package by running the following command:
sudo yum --disablerepo=adrc-vpn-server install kbd
2. Set the language to the desired one:
sudo localectl set-keymap <it>
<it>
is the language, in this example Italian.