diff --git a/cloud-init-prefer-nm.patch b/cloud-init-prefer-nm.patch index 7c144d0..667eaad 100644 --- a/cloud-init-prefer-nm.patch +++ b/cloud-init-prefer-nm.patch @@ -15,7 +15,15 @@ "openbsd", --- tests/unittests/test_net.py.orig +++ tests/unittests/test_net.py -@@ -7363,8 +7363,8 @@ class TestRenderersSelect: +@@ -7356,15 +7356,15 @@ class TestRenderersSelect: + # -netplan +ifupdown -sys -nm -networkd selects eni + ("eni", False, True, False, False, False), + # +netplan +ifupdown -sys -nm -networkd selects eni +- ("eni", True, True, False, False, False), ++ ("netplan", True, True, False, False, False), + # +netplan -ifupdown -sys -nm -networkd selects netplan + ("netplan", True, False, False, False, False), + # +netplan -ifupdown -sys -nm -networkd selects netplan ("netplan", True, False, False, False, False), # -netplan -ifupdown +sys -nm -networkd selects sysconfig ("sysconfig", False, False, True, False, False),