summaryrefslogtreecommitdiff
path: root/man/bootctl.xml
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2021-03-17 18:58:07 +0100
committerнаб <nabijaczleweli@nabijaczleweli.xyz>2021-05-05 14:35:00 +0200
commit6a3fff75baad94d9ebff1a6c7d1fb35448c44a81 (patch)
treed1861df2a00374be5a685388ab2248e1f69e4c9f /man/bootctl.xml
parent2d945027244c02fab8d388353f034a2d82ca151b (diff)
downloadsystemd-6a3fff75baad94d9ebff1a6c7d1fb35448c44a81.tar.gz
bootctl: take --make-machine-id-directory=yes|no|auto and make/remove \$MACHINE_ID accordingly
auto resolves to yes if /etc/machine-id resides on non-tmpfs This effectively reverts commit 31e57550b552e113bd3d44355b237c41e42beb58
Diffstat (limited to 'man/bootctl.xml')
-rw-r--r--man/bootctl.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/bootctl.xml b/man/bootctl.xml
index 878f24742e..5dfed110dd 100644
--- a/man/bootctl.xml
+++ b/man/bootctl.xml
@@ -237,6 +237,19 @@
cannot be written. Currently only applies to random seed operations.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--make-machine-id-directory=yes|no|auto</option></term>
+ <listitem><para>Control creation and deletion of <literal>$ESP/$MACHINE_ID</literal> during
+ <option>install</option> and <option>remove</option>, respectively.
+ <literal>auto</literal> is equivalent to to <literal>yes</literal> if <literal>/etc/machine-id</literal>
+ resides on a filesystem other than tmpfs and <literal>no</literal> otherwise.
+ Defaults to <literal>auto</literal>.</para>
+
+ <para>Overriding this may be desired to hide the machine ID from the (unencrypted) ESP,
+ configure a <citerefentry><refentrytitle>kernel-install</refentrytitle><manvolnum>8</manvolnum></citerefentry> script, or,
+ conversely, commit a machine-id that only appears transient.</para></listitem>
+ </varlistentry>
+
<xi:include href="standard-options.xml" xpointer="no-pager"/>
<xi:include href="standard-options.xml" xpointer="help"/>
<xi:include href="standard-options.xml" xpointer="version"/>