diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-02 19:12:10 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-02 19:51:53 +0200 |
commit | c25aa6c8acc6d95eaacae7858a7057907d61a25e (patch) | |
tree | 26da33cabf8ac6275ea7b9f52f42d224b3b478c6 /test/test-network-generator-conversion | |
parent | meson: fix name of test-network-generator (diff) | |
download | systemd-c25aa6c8acc6d95eaacae7858a7057907d61a25e.tar.xz systemd-c25aa6c8acc6d95eaacae7858a7057907d61a25e.zip |
network-generator: make network file generated from ip=dhcp matches only physical interfaces
Otherwise, it also matches later created virtual devices, and that
breaks networks generated and managed by container management services,
like docker.
Closes #28626.
Diffstat (limited to 'test/test-network-generator-conversion')
-rw-r--r-- | test/test-network-generator-conversion/test-01-dhcp.expected/91-default.network | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-network-generator-conversion/test-01-dhcp.expected/91-default.network b/test/test-network-generator-conversion/test-01-dhcp.expected/91-default.network index e42ce1e311..657cde79ae 100644 --- a/test/test-network-generator-conversion/test-01-dhcp.expected/91-default.network +++ b/test/test-network-generator-conversion/test-01-dhcp.expected/91-default.network @@ -1,7 +1,8 @@ # Automatically generated by systemd-network-generator [Match] -Name=* +Kind=!* +Type=!loopback [Link] |