945f98
From 14d1952c17637b80923d1bfaf3b6b5f8cf032147 Mon Sep 17 00:00:00 2001
945f98
From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
945f98
Date: Wed, 14 Dec 2022 09:31:51 +0100
945f98
Subject: [PATCH] Ensure network ready before cloud-init service runs on RHEL
945f98
 (#1893)
945f98
945f98
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2152100
945f98
945f98
commit 6e725f36647407d201af0603d7db11fc96a93d4d
945f98
Author: James Falcon <james.falcon@canonical.com>
945f98
Date:   Tue Dec 13 10:55:23 2022 -0600
945f98
945f98
    Ensure network ready before cloud-init service runs on RHEL (#1893)
945f98
945f98
    LP: #1998655
945f98
945f98
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
945f98
---
945f98
 systemd/cloud-init.service.tmpl | 1 +
945f98
 1 file changed, 1 insertion(+)
945f98
945f98
diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl
945f98
index c170aef7..fc984d5c 100644
945f98
--- a/systemd/cloud-init.service.tmpl
945f98
+++ b/systemd/cloud-init.service.tmpl
945f98
@@ -16,6 +16,7 @@ After=networking.service
945f98
                   "miraclelinux", "openEuler", "rhel", "rocky", "virtuozzo"] %}
945f98
 After=network.service
945f98
 After=NetworkManager.service
945f98
+After=NetworkManager-wait-online.service
945f98
 {% endif %}
945f98
 {% if variant in ["suse"] %}
945f98
 After=wicked.service
945f98
-- 
945f98
2.38.1
945f98