mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
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
|
||||
|
||||
[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
|
||||
PrivateNetwork=yes
|
||||
|
Loading…
Reference in New Issue
Block a user