]> git.proxmox.com Git - qemu-server.git/commitdiff
fix #1471: change keyboard default to undef
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 7 Nov 2017 10:09:30 +0000 (11:09 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 15 Nov 2017 12:16:38 +0000 (13:16 +0100)
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>
PVE/QemuServer.pm

index 97f0f9dcaaeaa5db46d39a8839a676be68068166..000dc5772e3418c5923d00fe52e8ac5021460168 100644 (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,