fix #1471: change keyboard default to undef

this means that we do not include the '-k' parameter anymore by default
(which is deprecated by qemu)

with this, noVNC and spice always respect the guest keyboard
configuration and altgr keys work without problems

tested:
ubuntu with english intl and german with novnc and spice
windows 10 with english intl and german with novnc and spice
live migration

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-11-07 11:09:30 +01:00 committed by Wolfgang Bumiller
parent 6941ee4e1c
commit aea47dd6a0

View File

@ -243,9 +243,10 @@ my $confdesc = {
keyboard => {
optional => 1,
type => 'string',
description => "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.",
description => "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.".
"It should not be necessary to set it.",
enum => PVE::Tools::kvmkeymaplist(),
default => 'en-us',
default => undef,
},
name => {
optional => 1,