diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-25 18:02:06 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-28 19:45:52 +0200 |
commit | eeb4680557c5f3c99197c65bf67a1b884db78e70 (patch) | |
tree | 16c677d0d20105491b6acb4a5bf86cc2d813cf4d /manpages | |
parent | 0c3f19cf25e2f628fb54cbf2c0004b1703cadb5e (diff) | |
download | vyos-live-build-eeb4680557c5f3c99197c65bf67a1b884db78e70.tar.gz vyos-live-build-eeb4680557c5f3c99197c65bf67a1b884db78e70.zip |
Truncate /etc/machine-id instead of deleting it.
If /etc/machine-id exists but is empty, systemd will do tricks
with bind-mounts to ensure that a valid transient UUID is bind-mounted
over it, which is exactly what we want for a live system.
If /etc/machine-id does not exist, systemd-journald
will just fail, which is undesirable.
Diffstat (limited to 'manpages')
0 files changed, 0 insertions, 0 deletions