diff options
| author | 2026-04-21 01:24:31 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:31 +0100 | |
| commit | d46aa13b408b5c3cac800742e33ac4cb0081c4b0 (patch) | |
| tree | 975e6cdbe656c845454d0b44aeab9fc4aa3c01da /etc/systemd | |
| parent | eacc049c430d5210930fd909990582525e24fdf3 (diff) | |
| download | dotfiles-d46aa13b408b5c3cac800742e33ac4cb0081c4b0.tar.gz dotfiles-d46aa13b408b5c3cac800742e33ac4cb0081c4b0.tar.bz2 dotfiles-d46aa13b408b5c3cac800742e33ac4cb0081c4b0.zip | |
docs(etc/networkd): document Type= match breadth for bond0
Type=ether and Type=wlan match every interface of that class.
Add comments pointing out that future USB/Thunderbolt dongles
would get auto-enslaved into bond0, and how to narrow the match
if that becomes undesirable.
Diffstat (limited to 'etc/systemd')
| -rw-r--r-- | etc/systemd/network/30-ethernet-bond0.network | 3 | ||||
| -rw-r--r-- | etc/systemd/network/30-wifi-bond0.network | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/etc/systemd/network/30-ethernet-bond0.network b/etc/systemd/network/30-ethernet-bond0.network index d1b422c..39c4c7a 100644 --- a/etc/systemd/network/30-ethernet-bond0.network +++ b/etc/systemd/network/30-ethernet-bond0.network @@ -1,3 +1,6 @@ +# NOTE: Type=ether matches ALL ethernet interfaces. Any future USB/Thunderbolt +# ethernet dongle would be auto-enslaved into bond0. If that becomes a problem, +# narrow the [Match] section to MACAddress= or a persistent Name= (e.g. enp*s0). [Match] Type=ether diff --git a/etc/systemd/network/30-wifi-bond0.network b/etc/systemd/network/30-wifi-bond0.network index ed8743d..2874e47 100644 --- a/etc/systemd/network/30-wifi-bond0.network +++ b/etc/systemd/network/30-wifi-bond0.network @@ -1,3 +1,6 @@ +# NOTE: Type=wlan matches ALL wireless interfaces. Any future USB wifi dongle +# would be auto-enslaved into bond0. If that becomes a problem, narrow the +# [Match] section to MACAddress= or a persistent Name= (e.g. wlp*s0). [Match] Type=wlan |
