« Back to projectatomic.io
Ask Your Question

How to install `kbd` on Atomic Host - Missing Keyboard Layouts

asked 2016-12-14 10:50:16 +0000

huygens gravatar image

updated 2016-12-14 12:23:43 +0000

I just installed CentOS 7 Atomic Host on baremetal. But before I enable SSH access and all, I want to configure a few things on the local console. However, and eventhough I selected the correct layout for the keyboard during install, I get the US layout for the keyboard.

The configuration during installation was correct, the /etc/vconsole.conf and localectl status both are showing that I should have my local keyboard layout. But running localectl list-keymaps shows that they are no alternative keymaps installed. So eventhough I can select my local keymap, the system does not have the files to apply the setting correctly.

How can I install the keymaps files (I think they are in the kdb package)? As you is not an option (not installed), can I simply download the CentOS 7 rpms and install them manually using the rpm command? Will this break the "atomic-ity" of Atomic Host upgrades in the future?

PS: I guess this is a bug in CentOS 7 Atomic Host. Where shall this be reported?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-14 14:44:13 +0000

huygens gravatar image

Currently what I did is the following:

mount -o remount,rw /usr
rpm -ivh kbd-1.15.5-11.el7.x86_64.rpm kbd-legacy-1.15.5-11.el7.noarch.rpm kbd-misc-1.15.5-11.el7.noarch.rpm
localectl set-x11-keymap de

However I might have broken the atomicity of future update doing so. I will report when there is an update available if it failed or not. But at least I can now set a different keyboard map on my CentOS7 AH.

Note: I have downloaded the rpm from this link directly http://mirror.centos.org/centos/7/os/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2016-12-14 10:50:16 +0000

Seen: 193 times

Last updated: Dec 14 '16