docs/treefile: Mention rw in for machineid-compat option

See discussions in https://github.com/systemd/systemd/issues/8268 for
more information.

Closes: #1487
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-08-03 10:03:00 -04:00 committed by Atomic Bot
parent 344aee1d76
commit be055179db

View File

@ -202,10 +202,11 @@ It supports the following parameters:
rpm-ostree creates `/usr/etc/machine-id` as an empty file for historical
reasons. Set this to `false` to ensure it's not present at all. This
will cause systemd to execute `ConditionFirstBoot=`, which implies
running `systemctl preset-all` for example. If you enable this, avoid
using the `units` member, as it will no longer function. Instead,
create a `/usr/lib/systemd/system-presets/XX-example.preset` file.
running `systemctl preset-all` for example. This requires booting the system
with `rw` so that systemd can properly populate `/etc/machine-id` and execute
the presets at switchroot. If you enable this, avoid using the `units`
member, as it will no longer function. Instead, create a
`/usr/lib/systemd/system-presets/XX-example.preset` file.
Experimental options
--------