From 8a8ac4fe2b52ba69b2d1577cca8f5e7b5348f6f6 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 8 Apr 2022 16:35:47 +0200 Subject: [PATCH] [users]: update config schema --- src/modules/users/users.schema.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/modules/users/users.schema.yaml b/src/modules/users/users.schema.yaml index 3b49061bc..42ce42b44 100644 --- a/src/modules/users/users.schema.yaml +++ b/src/modules/users/users.schema.yaml @@ -40,7 +40,13 @@ properties: minLength: { type: number } maxLength: { type: number } 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 ] } writeHostsFile: { type: boolean, default: true }