1160f5
From c843f5cf7152846da3422185a6ad344dd47604e6 Mon Sep 17 00:00:00 2001
1160f5
From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
1160f5
Date: Mon, 8 Aug 2022 10:02:48 +0200
1160f5
Subject: [PATCH 3/3] Revert "Revert "Setting highest autoconnect priority for
1160f5
 network-scripts""
1160f5
1160f5
RH-Author: Emanuele Giuseppe Esposito <eesposit@redhat.com>
1160f5
RH-MergeRequest: 31: Revert "Revert "Setting highest autoconnect priority for network-scripts""
1160f5
RH-Commit: [3/3] 09b83fb559675a2fcd4fc5394b251f034b92c1bc (eesposit/cloud-init-centos-)
1160f5
RH-Bugzilla: 2107463 2104389 2117532 2098501
1160f5
RH-Acked-by: Eduardo Otubo <otubo@redhat.com>
1160f5
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
1160f5
RH-Acked-by: Mohamed Gamal Morsy <mmorsy@redhat.com>
1160f5
1160f5
Reverting NM means we also need to restore this patch
1160f5
This reverts commit 0eba5c6194017ef493a735cb24757c57d8af7b59.
1160f5
1160f5
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
1160f5
---
1160f5
 cloudinit/net/sysconfig.py | 1 +
1160f5
 1 file changed, 1 insertion(+)
1160f5
1160f5
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py
1160f5
index d8c53312..b50035b5 100644
1160f5
--- a/cloudinit/net/sysconfig.py
1160f5
+++ b/cloudinit/net/sysconfig.py
1160f5
@@ -337,6 +337,7 @@ class Renderer(renderer.Renderer):
1160f5
             "ONBOOT": True,
1160f5
             "USERCTL": False,
1160f5
             "BOOTPROTO": "none",
1160f5
+            "AUTOCONNECT_PRIORITY": 999
1160f5
         },
1160f5
         "suse": {"BOOTPROTO": "static", "STARTMODE": "auto"},
1160f5
     }
1160f5
-- 
1160f5
2.31.1
1160f5