Merge pull request #1946 from dalto8/mount-schema

[mount] Update schema to use arrays
This commit is contained in:
Adriaan de Groot 2022-05-09 15:02:27 +02:00 committed by GitHub
commit 0678957def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ properties:
device: { type: string }
fs: { type: string }
mountPoint: { type: string }
options: { type: string }
options: { type: array, items: { type: string } }
efi: { type: boolean, default: false }
required: [ device, mountPoint ]
btrfsSubvolumes:
@ -35,9 +35,9 @@ properties:
additionalProperties: false
properties:
filesystem: { type: string }
options: { type: array }
ssdOptions: { type: array }
hddOptions: { type: array }
options: { type: array, items: { type: string } }
ssdOptions: { type: array, items: { type: string } }
hddOptions: { type: array, items: { type: string } }
required: [ filesystem ]