summaryrefslogtreecommitdiffstats
path: root/network/80-vm-vt.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-vm-vt.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-vm-vt.network')
-rw-r--r--network/80-vm-vt.network2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network
index a58f753cfc..bb7942aa50 100644
--- a/network/80-vm-vt.network
+++ b/network/80-vm-vt.network
@@ -15,8 +15,8 @@
# configuration as ve-* to provide NAT/DHCP to VMs.
[Match]
+Kind=tun
Name=vt-*
-Driver=tun
[Network]
# Default to using a /28 prefix, giving up to 13 addresses per VM.