2023-02-01 21:04:16 +01:00
|
|
|
--- cloudinit/net/renderers.py.orig
|
|
|
|
+++ cloudinit/net/renderers.py
|
|
|
|
@@ -27,10 +27,10 @@ NAME_TO_RENDERER = {
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFAULT_PRIORITY = [
|
|
|
|
- "eni",
|
|
|
|
- "sysconfig",
|
|
|
|
"netplan",
|
|
|
|
"network-manager",
|
|
|
|
+ "eni",
|
|
|
|
+ "sysconfig",
|
|
|
|
"freebsd",
|
|
|
|
"netbsd",
|
|
|
|
"openbsd",
|
2023-02-03 21:14:14 +01:00
|
|
|
--- tests/unittests/test_net.py.orig
|
|
|
|
+++ tests/unittests/test_net.py
|
|
|
|
@@ -7363,8 +7363,8 @@ class TestRenderersSelect:
|
|
|
|
("netplan", True, False, False, False, False),
|
|
|
|
# -netplan -ifupdown +sys -nm -networkd selects sysconfig
|
|
|
|
("sysconfig", False, False, True, False, False),
|
|
|
|
- # -netplan -ifupdown +sys +nm -networkd selects sysconfig
|
|
|
|
- ("sysconfig", False, False, True, True, False),
|
|
|
|
+ # -netplan -ifupdown +sys +nm -networkd selects network-manager
|
|
|
|
+ ("network-manager", False, False, True, True, False),
|
|
|
|
# -netplan -ifupdown -sys +nm -networkd selects nm
|
|
|
|
("network-manager", False, False, False, True, False),
|
|
|
|
# -netplan -ifupdown -sys +nm +networkd selects nm
|