[pve-devel] [RFC PATCH guest-common 1/1] add profiles section config plugin

Fiona Ebner f.ebner at proxmox.com
Mon Nov 6 10:22:01 CET 2023


Am 03.11.23 um 12:53 schrieb Dominik Csapak:
> +my $defaultData = {
> +    propertyList => {
> +	type => { description => 'Profile type.' },
> +	id => {
> +	    type => 'string',
> +	    description => "The ID of the profile.",
> +	    format => 'pve-configid',
> +	},

The ID is usually not a property AFAIK. Doesn't this lead to duplication
when writing the section config, i.e.

type: <ID>
	id <ID>

? Do we gain anything by having it be a property?





More information about the pve-devel mailing list