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