How to set keymap in Fedora CoreOS installer or terminal

In order to set the keymap in the Fedora CoreOS installation shell, use

sudo localectl set-keymap [keymap]

For example, in order to set theĀ de keymap:

sudo localectl set-keymap de