mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-04-19 07:58:09 +01:00
Use udev path instead of mac or name for nm match (#4476)
This commit is contained in:
@@ -58,9 +58,7 @@ async def test_update(
|
||||
)
|
||||
assert settings["connection"]["autoconnect"] == Variant("b", True)
|
||||
|
||||
assert settings["device"] == {
|
||||
"match-device": Variant("s", "mac:AA:BB:CC:DD:EE:FF,interface-name:eth0")
|
||||
}
|
||||
assert settings["match"] == {"path": Variant("as", ["platform-ff3f0000.ethernet"])}
|
||||
|
||||
assert "ipv4" in settings
|
||||
assert settings["ipv4"]["method"] == Variant("s", "auto")
|
||||
|
||||
Reference in New Issue
Block a user