cloud init schema: fix indentation and overly long wording

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-01-19 11:57:03 +01:00
parent f78c9b6b44
commit eba285f594

View File

@ -731,26 +731,23 @@ my $cicustom_fmt = {
network => { network => {
type => 'string', type => 'string',
optional => 1, optional => 1,
description => 'Specify a custom file containing all network data passed to the VM via' description => 'To pass a custom file containing all network data to the VM via cloud-init.',
.' cloud-init.',
format => 'pve-volume-id', format => 'pve-volume-id',
format_description => 'volume', format_description => 'volume',
}, },
user => { user => {
type => 'string', type => 'string',
optional => 1, optional => 1,
description => 'Specify a custom file containing all user data passed to the VM via' description => 'To pass a custom file containing all user data to the VM via cloud-init.',
.' cloud-init.',
format => 'pve-volume-id', format => 'pve-volume-id',
format_description => 'volume', format_description => 'volume',
}, },
vendor => { vendor => {
type => 'string', type => 'string',
optional => 1, optional => 1,
description => 'Specify a custom file containing all vendor data passed to the VM via' description => 'To pass a custom file containing all vendor data to the VM via cloud-init.',
.' cloud-init.', format => 'pve-volume-id',
format => 'pve-volume-id', format_description => 'volume',
format_description => 'volume',
}, },
}; };
PVE::JSONSchema::register_format('pve-qm-cicustom', $cicustom_fmt); PVE::JSONSchema::register_format('pve-qm-cicustom', $cicustom_fmt);