summaryrefslogtreecommitdiffstats
path: root/man/systemd.link.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-02-17 13:06:12 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-02-17 15:10:26 +0100
commit65022cd7abc64da553a037d2e918adddce34ceda (patch)
tree8ddeed47ad9ac00b60df7ca5cd716ac00690343a /man/systemd.link.xml
parentnetworkctl: show netdev kind (diff)
downloadsystemd-65022cd7abc64da553a037d2e918adddce34ceda.tar.xz
systemd-65022cd7abc64da553a037d2e918adddce34ceda.zip
network,udev/net: add Kind= settings in [Match] section
This may be useful for writing .network or .link files matching with virtual interfaces. Closes #22541.
Diffstat (limited to 'man/systemd.link.xml')
-rw-r--r--man/systemd.link.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index 55ca597c97..1eaf8e14cb 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -178,6 +178,20 @@
</listitem>
</varlistentry>
+ <varlistentry id='kind'>
+ <term><varname>Kind=</varname></term>
+ <listitem>
+ <para>A whitespace-separated list of shell-style globs matching the device kind, as exposed by
+ <command>networkctl status <replaceable>INTERFACE</replaceable></command> or
+ <command>ip -d link show <replaceable>INTERFACE</replaceable></command>. If the list is
+ prefixed with a "!", the test is inverted. Some valid values are <literal>bond</literal>,
+ <literal>bridge</literal>, <literal>gre</literal>, <literal>tun</literal>,
+ <literal>veth</literal>. Valid kinds are given by netlink's <literal>IFLA_INFO_KIND</literal>
+ attribute, so this is not comprehensive.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id='property'>
<term><varname>Property=</varname></term>
<listitem>