sailesh1993 / rpms / cloud-init

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