[machineid] Improve config-documentation

This commit is contained in:
Adriaan de Groot 2020-10-23 17:16:24 +02:00
parent daeee09fdb
commit aa6109d470
2 changed files with 28 additions and 10 deletions

View File

@ -11,21 +11,39 @@
# #
--- ---
# Whether to create /etc/machine-id for systemd. # Whether to create /etc/machine-id for systemd.
# The default is *false*.
systemd: true systemd: true
# Whether to create /var/lib/dbus/machine-id for D-Bus. # Whether to create /var/lib/dbus/machine-id for D-Bus.
# The default is *false*.
dbus: true dbus: true
# Whether /var/lib/dbus/machine-id should be a symlink to /etc/machine-id # Whether /var/lib/dbus/machine-id should be a symlink to /etc/machine-id
# (ignored if dbus is false, or if there is no /etc/machine-id to point to). # (ignored if dbus is false, or if there is no /etc/machine-id to point to).
# The default is *false*.
dbus-symlink: true dbus-symlink: true
# Whether to create an entropy file /var/lib/urandom/random-seed # Copy entropy from the host? If this is set to *true*, then
# # any entropy file listed below will be copied from the host
# DEPRECATED: list the file in entropy-files instead # if it exists. Non-existent files will be generated from
entropy: false # /dev/urandom . The default is *false*.
# Whether to copy entropy from the host
entropy-copy: false entropy-copy: false
# Which files to write (paths in the target) # Which files to write (paths in the target). Each of these files is
# either generated from /dev/urandom or copied from the host, depending
# on the setting for *entropy-copy*, above.
entropy-files: entropy-files:
- /var/lib/urandom/random-seed - /var/lib/urandom/random-seed
- /var/lib/systemd/random-seed - /var/lib/systemd/random-seed
# Whether to create an entropy file /var/lib/urandom/random-seed
#
# DEPRECATED: list the file in entropy-files instead. If this key
# exists and is set to *true*, a warning is printed and Calamares
# behaves as if `/var/lib/urandom/random-seed` is listed in *entropy-files*.
#
# entropy: false
# Whether to create a symlink for D-Bus
#
# DEPRECATED: set *dbus-symlink* with the same meaning instead.
#
# symlink: false

View File

@ -6,11 +6,11 @@ $id: https://calamares.io/schemas/machineid
additionalProperties: false additionalProperties: false
type: object type: object
properties: properties:
systemd: { type: boolean, default: true } systemd: { type: boolean, default: false }
dbus: { type: boolean, default: true } dbus: { type: boolean, default: false }
"dbus-symlink": { type: boolean, default: true } "dbus-symlink": { type: boolean, default: false }
"entropy-copy": { type: boolean, default: false } "entropy-copy": { type: boolean, default: false }
"entropy-files": { type: array, items: { type: string } } "entropy-files": { type: array, items: { type: string } }
# Deprecated properties # Deprecated properties
symlink: { type: boolean, default: true } symlink: { type: boolean, default: false }
entropy: { type: boolean, default: false } entropy: { type: boolean, default: false }