node config: limit description/comment length to 64 KiB
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8cbc969924
commit
7a3b5a212c
@ -80,7 +80,9 @@ sub lock_config {
|
|||||||
my $confdesc = {
|
my $confdesc = {
|
||||||
description => {
|
description => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => 'Node description/comment.',
|
description => "Description for the Node. Shown in the web-interface node notes panel."
|
||||||
|
." This is saved as comment inside the configuration file.",
|
||||||
|
maxLength => 64 * 1024,
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
wakeonlan => {
|
wakeonlan => {
|
||||||
|
Loading…
Reference in New Issue
Block a user