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

index 7b82f654bef1db07fea35e6aef96f411cf4a1d60..67bf2103c8b4db2b9d955d8994cbbe10fe471af5 100644 (file)
@@ -508,7 +508,9 @@ my $confdesc = {
     description => {
        optional => 1,
        type => 'string',
-        description => "Container description. Only used on the configuration web interface.",
+       description => "Description for the Container. Shown in the web-interface CT's summary."
+           ." This is saved as comment inside the configuration file.",
+       maxLength => 1024 * 8,
     },
     searchdomain => {
        optional => 1,