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