restrict name to DNS format 'dns-name'

This commit is contained in:
Dietmar Maurer 2012-03-13 07:00:27 +01:00
parent 961bfcb224
commit 7fabe17df2

View File

@ -208,7 +208,7 @@ my $confdesc = {
},
name => {
optional => 1,
type => 'string',
type => 'string', format => 'dns-name',
description => "Set a name for the VM. Only used on the configuration web interface.",
},
description => {