network-interface service: tuntap ifs have netdev services

This commit is contained in:
Franz Pletz 2017-02-18 04:54:15 +01:00
parent 76a3c30471
commit 741770c99a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -49,7 +49,8 @@ in
deviceDependency = dev:
# Use systemd service if we manage device creation, else
# trust udev when not in a container
if (hasAttr dev cfg.bridges) ||
if (hasAttr dev (filterAttrs (k: v: v.virtual) cfg.interfaces)) ||
(hasAttr dev cfg.bridges) ||
(hasAttr dev cfg.bonds) ||
(hasAttr dev cfg.macvlans) ||
(hasAttr dev cfg.sits) ||