]> git.proxmox.com Git - qemu-server.git/commitdiff
config: limit description/comment length to 8 KiB
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Jun 2021 11:11:07 +0000 (13:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Jun 2021 11:11:07 +0000 (13:11 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm

index 6d9cf2d159519dd6de84e02a3ed125352ce78f72..7630829fb4798599e0d9c1369e8fc44271ab68bd 100644 (file)
@@ -365,7 +365,9 @@ my $confdesc = {
     description => {
        optional => 1,
        type => 'string',
-       description => "Description for the VM. Only used on the configuration web interface. This is saved as comment inside the configuration file.",
+       description => "Description for the VM. Shown in the web-interface VM's summary."
+           ." This is saved as comment inside the configuration file.",
+       maxLength => 1024 * 8,
     },
     ostype => {
        optional => 1,