Extend the test_keep_configuration_on_restart in order to check that the unmanaged interface isn't altered in any way.
19 lines
576 B
SYSTEMD
19 lines
576 B
SYSTEMD
# SPDX-License-Identifier: MIT-0
|
|
#
|
|
# This config file is installed as part of systemd.
|
|
# It may be freely copied and edited (following the MIT No Attribution license).
|
|
#
|
|
# To make local modifications, use "networkctl edit". See networkctl(1) for details.
|
|
# This file should not be edited in place, because it'll be overwritten on upgrades.
|
|
|
|
# This .link file matches a dummy Ethernet link created to check if
|
|
# networkd touches an unmanaged interface by mistake
|
|
|
|
[Match]
|
|
Kind=dummy
|
|
OriginalName=unmanaged0
|
|
|
|
[Link]
|
|
NamePolicy=keep
|
|
Property=ID_NET_MANAGED_BY=io.systemd.Network
|