mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
docs: recommend not mixing manual tag mgmt with machine-tags.d/
We want to keep our options open for more automatic handling of machine-tags in the future. So let's ask people to not use manual mgmt if we detect that automatic mgmt is being used. (The first version of this commit made hostnamectl emit a warning if any machine-tags.d/ config was present. But this would mean that setting tags through udev would cause warnings to be emitted. Let's just document the general principle for now.)
This commit is contained in:
1 parent
dd410c02f8
commit
584e7e2f66
1 file changed
+4
@@ -46,6 +46,10 @@
|
||||
stored in <filename>/etc/machine-info</filename>, thus applying the same configuration repeatedly has no
|
||||
further effect.</para>
|
||||
|
||||
<para>Note: when <filename>machine-tags.d/</filename> files are used, direct management of tags through
|
||||
<command>hostnamectl tags …</command> or by editing the <filename>/etc/machine-info</filename> file
|
||||
directly are <emphasis>not recommended</emphasis>. Please use one approach or the other.</para>
|
||||
|
||||
<para>During boot, the configuration is applied automatically by
|
||||
<citerefentry><refentrytitle>systemd-machine-tags.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
||||
|
||||
|
||||
Reference in new issue
Block a user