[users] Fix up schema syntax
- Remove schema items *availableShells* and *avatarFilePath* because those have no implementation.
This commit is contained in:
parent
53715f28d1
commit
463545290e
@ -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
|
||||||
#
|
#
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user