diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-08 14:59:33 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-08 14:59:57 +0100 |
commit | f139393dd20acd4856cf5ec019eb4b9d69b2cf52 (patch) | |
tree | 50942da86abddb0a36a4c45af3cd823910388ced /network/80-vm-vt.network | |
parent | resolvectl: do not sort domain output (diff) | |
download | systemd-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.network | 2 |
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. |