test-execute: allow sit0@ to exist in private network namespace
It's always visible: $ sudo modprobe sit $ sudo unshare -n ip l 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000 ... 2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000 ...
This commit is contained in:
parent
c725631f4b
commit
6b08180ca6
|
@ -2,6 +2,6 @@
|
||||||
Description=Test for PrivateNetwork
|
Description=Test for PrivateNetwork
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/sh -x -c '! ip link | grep ": " | grep -v ": lo:"'
|
ExecStart=/bin/sh -x -c '! ip link | grep ": " | grep -Ev ": (lo|sit0@.*):"'
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
PrivateNetwork=yes
|
PrivateNetwork=yes
|
||||||
|
|
Loading…
Reference in a new issue