test-network: ignore tunnel devices automatically added by kernel

Fixes #10934.
This commit is contained in:
Yu Watanabe 2019-02-06 12:02:15 +01:00
parent 2b3943a02b
commit e327272d79
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@
Description=Test for PrivateNetwork
[Service]
ExecStart=/bin/sh -x -c '! ip link | grep ": " | grep -Ev ": (lo|(sit0|ip6tnl0|ip6gre0)@.*):"'
ExecStart=/bin/sh -x -c '! ip link | grep -E "^[0-9]+: " | grep -Ev ": (lo|(erspan|gre|gretap|ip_vti|ip6_vti|ip6gre|ip6tnl|sit|tunl)0@.*):"'
Type=oneshot
PrivateNetwork=yes