units: make sure the network tap driver is actually loaded

We have the After= line, but not the Wants= line. Fix that.
This commit is contained in:
Lennart Poettering
2025-06-13 15:14:06 +02:00
committed by Yu Watanabe
parent 273d14f5dd
commit 008818ec96

View File

@@ -12,6 +12,7 @@ Description=Virtual Machine %i
Documentation=man:systemd-vmspawn(1)
PartOf=machines.target
Before=machines.target
Wants=modprobe@tun.service
After=network.target modprobe@tun.service
RequiresMountsFor=/var/lib/machines/%i