stages/cloud-init: configuration file must contain at least one option

Add back a schema constrain, that at least one configuration must be
specified for the configuration file.

This has been forgotten/missed as part of
https://github.com/osbuild/osbuild/pull/739.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-07-26 14:33:09 +02:00 committed by Tomas Hozza
parent 35de3093a7
commit 152b14a0d6

View file

@ -36,6 +36,7 @@ SCHEMA = r"""
"additionalProperties": false,
"type": "object",
"description": "cloud-init configuration",
"minProperties": 1,
"properties": {
"system_info": {
"additionalProperties": false,