[users] Fix up schema syntax

- Remove schema items *availableShells* and *avatarFilePath* because
  those have no implementation.
This commit is contained in:
Adriaan de Groot 2020-06-18 16:12:12 +02:00
parent 53715f28d1
commit 463545290e
2 changed files with 13 additions and 13 deletions

View File

@ -124,7 +124,7 @@ allowWeakPasswordsDefault: false
# and rely on a correct configuration file in /etc/default/useradd # and rely on a correct configuration file in /etc/default/useradd
# - set, non-empty, use that path as shell. No validation is done # - set, non-empty, use that path as shell. No validation is done
# that the shell actually exists or is executable. # that the shell actually exists or is executable.
# userShell: /bin/bash userShell: /bin/bash
# Hostname setting # Hostname setting
# #

View File

@ -4,15 +4,15 @@ $id: https://calamares.io/schemas/users
additionalProperties: false additionalProperties: false
type: object type: object
properties: properties:
"defaultGroups": defaultGroups:
required: true type: array
type: seq items: { type: string }
sequence: autologinGroup: { type: string }
- { type: str } doAutologin: { type: boolean, default: true }
"autologinGroup": { type: string, required: true } sudoersGroup: { type: string }
"doAutologin": { type: boolean, default: true } setRootPassword: { type: boolean, default: true }
"sudoersGroup": { type: string, required: true } doReusePassword: { type: boolean, default: true }
"setRootPassword": { type: boolean, default: true } required:
"availableShells": { type: str } - defaultGroups
"avatarFilePath": { type: str } - autologinGroup
"doReusePassword": { type: boolean, default: true } - sudoersGroup