summaryrefslogtreecommitdiffstats
path: root/network/80-container-vz.network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-11-08 14:59:33 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-11-08 14:59:57 +0100
commitf139393dd20acd4856cf5ec019eb4b9d69b2cf52 (patch)
tree50942da86abddb0a36a4c45af3cd823910388ced /network/80-container-vz.network
parentresolvectl: do not sort domain output (diff)
downloadsystemd-f139393dd20acd4856cf5ec019eb4b9d69b2cf52.tar.xz
systemd-f139393dd20acd4856cf5ec019eb4b9d69b2cf52.zip
network: use Kind= instead of Driver=
networkd ignores errors in reading driver through ethtool. The kind of network interface is retrieved through netlink, and networkd checks checks many failures. So, using Kind= should be safer. No functional change, just for safety.
Diffstat (limited to 'network/80-container-vz.network')
-rw-r--r--network/80-container-vz.network2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/80-container-vz.network b/network/80-container-vz.network
index a8b4d462a0..7d570b2b32 100644
--- a/network/80-container-vz.network
+++ b/network/80-container-vz.network
@@ -15,8 +15,8 @@
# --network-zone= switch. See systemd-nspawn(1) for details.
[Match]
+Kind=bridge
Name=vz-*
-Driver=bridge
[Network]
# Default to using a /24 prefix, giving up to 253 addresses per virtual network.