Add pattern to enable definition of additional partitions

This commit is contained in:
Michael Gerlach 2016-12-10 16:11:38 +01:00
parent e2606acbdc
commit 0a5a3e153b

View file

@ -173,6 +173,8 @@ definitions:
additionalProperties: false
partition_table:
type: object
patternProperties:
^(?!type|boot|root|swap).*: {$ref: '#/definitions/partition'}
properties:
boot: {$ref: '#/definitions/partition'}
root: {$ref: '#/definitions/partition'}