1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-03 08:22:37 +03:00

test-network: ignore tunnel devices automatically added by kernel

Fixes #10934.

(cherry picked from commit e327272d79)
(cherry picked from commit 0ebc894201)
This commit is contained in:
Yu Watanabe
2019-02-06 12:02:15 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent fe15e6a4ee
commit 9f6ba616c8

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