Re: [pve-devel] [PATCH v4 installer 31/30 follow-up] auto-installer: answer: deny unknown fields

2024-04-09 Thread Christoph Heiss
LGTM, does exactly what is says on the tin. Tested it using both the `proxmox-autoinst-helper validate-answer` tool and trying to boot the auto-installer itself with a bogus answer file. So please consider this also: Reviewed-by: Christoph Heiss Tested-by: Christoph Heiss On Fri, Apr 05, 2024

[pve-devel] [PATCH v4 installer 31/30 follow-up] auto-installer: answer: deny unknown fields

2024-04-05 Thread Aaron Lauterer
This way, serde will throw errors if fields are not known. This can help to reduce frustration if one might think to have set an option, but for example a small type has happened. Signed-off-by: Aaron Lauterer --- Since Christoph mentioned it I tried to implement it. Tested quickly with the prox