summaryrefslogtreecommitdiff
path: root/man/systemd.link.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-07-13 10:38:53 +0200
committerLennart Poettering <lennart@poettering.net>2022-07-15 10:53:45 +0200
commit4f80cfca5ebf9743c13b648017b773090f57b86b (patch)
tree39191ff5dbbc0db324e7ed9d085f06b99f24c162 /man/systemd.link.xml
parent5eab88a569c1bb5f79093f38e872e588d64a2b26 (diff)
downloadsystemd-4f80cfca5ebf9743c13b648017b773090f57b86b.tar.gz
pid1: add mechanism for conditionalizing units/network/netdev/link based on credentials passed in
This is useful when provisioning systems via nspawn/qemu and running specific services only if specific data is passed into the system.
Diffstat (limited to 'man/systemd.link.xml')
-rw-r--r--man/systemd.link.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index de23b941ad..d933632393 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -269,6 +269,18 @@
</listitem>
</varlistentry>
+ <varlistentry id='credential'>
+ <term><varname>Credential=</varname></term>
+ <listitem>
+ <para>Checks whether the specified credential was passed to the
+ <filename>systemd-networkd.service</filename> service. See <ulink
+ url="https://systemd.io/CREDENTIALS">System and Service Credentials</ulink> for details. When
+ prefixed with an exclamation mark (<literal>!</literal>), the result is negated. If an empty
+ string is assigned, the previously assigned value is cleared.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id='architecture'>
<term><varname>Architecture=</varname></term>
<listitem>