[users]: update config schema

This commit is contained in:
Adriaan de Groot 2022-04-08 16:35:47 +02:00
parent 4494a4b35a
commit 8a8ac4fe2b

View File

@ -40,7 +40,13 @@ properties:
minLength: { type: number } minLength: { type: number }
maxLength: { type: number } maxLength: { type: number }
libpwquality: { type: array, items: { type: string } } # Don't know what libpwquality supports libpwquality: { type: array, items: { type: string } } # Don't know what libpwquality supports
# Hostname setting hostname:
additionalProperties: false
type: object
properties:
location: { type: string, enum: [ None, EtcFile, Hostnamed ] }
writeHostsFile: { type: boolean, default: true }
# Legacy Hostname setting
setHostname: { type: string, enum: [ None, EtcFile, Hostnamed ] } setHostname: { type: string, enum: [ None, EtcFile, Hostnamed ] }
writeHostsFile: { type: boolean, default: true } writeHostsFile: { type: boolean, default: true }