1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00

udev/net: do not manage loopback interfaces

There are nothing we can configure in udevd for loopback interfaces;
no ethertool configs can be applied, MAC address, interface name should
not be touched.
This commit is contained in:
Yu Watanabe
2021-05-23 16:59:40 +09:00
parent f25e642bca
commit 70f32a260b
2 changed files with 7 additions and 2 deletions

View File

@@ -762,7 +762,7 @@ class NetworkctlTests(unittest.TestCase, Utilities):
output = check_output(*networkctl_cmd, '-n', '0', 'status', 'lo', env=env)
print(output)
self.assertRegex(output, r'Link File: (/usr)?/lib/systemd/network/99-default.link')
self.assertRegex(output, r'Link File: n/a')
self.assertRegex(output, r'Network File: n/a')
def test_delete_links(self):