diff options
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/vmklive-conf.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dracut/vmklive-conf.sh b/dracut/vmklive-conf.sh index 4fe1747..05a9ab0 100644 --- a/dracut/vmklive-conf.sh +++ b/dracut/vmklive-conf.sh @@ -23,3 +23,9 @@ fi if [ -n "$LOCALE" ]; then sed -i -e "s|^LANG=.*|LANG=$LOCALE|g" ${NEWROOT}/etc/locale.conf fi + +# Setup keymap for X.org evdev. +if [ -r "${NEWROOT}/etc/udev/rules.d/75-x11-input.rules" ]; then + sed -i -e "s|\(ENV{xkblayout}\=\)\"us\"|\1\"${KEYMAP}\"|" \ + ${NEWROOT}/etc/udev/rules.d/75-x11-input.rules +fi |