You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
2 years ago
|
From 799ef819e75bdddbf4e983e6990a6a6a51c61bdb Mon Sep 17 00:00:00 2001
|
||
|
From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||
|
Date: Wed, 14 Dec 2022 09:21:32 +0100
|
||
|
Subject: [PATCH] Ensure network ready before cloud-init service runs on RHEL
|
||
|
(#1893)
|
||
|
|
||
|
RH-Author: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||
|
RH-MergeRequest: 85: Ensure network ready before cloud-init service runs on RHEL (#1893)
|
||
|
RH-Bugzilla: 2153183
|
||
|
RH-Acked-by: Mohamed Gamal Morsy <mmorsy@redhat.com>
|
||
|
RH-Acked-by: Camilla Conte <cconte@redhat.com>
|
||
|
RH-Commit: [1/1] d1abf2692aeddea9eac69f6ff8b173e188c3e013
|
||
|
|
||
|
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2153183
|
||
|
|
||
|
commit 6e725f36647407d201af0603d7db11fc96a93d4d
|
||
|
Author: James Falcon <james.falcon@canonical.com>
|
||
|
Date: Tue Dec 13 10:55:23 2022 -0600
|
||
|
|
||
|
Ensure network ready before cloud-init service runs on RHEL (#1893)
|
||
|
|
||
|
LP: #1998655
|
||
|
|
||
|
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||
|
---
|
||
|
systemd/cloud-init.service.tmpl | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl
|
||
|
index c170aef7..fc984d5c 100644
|
||
|
--- a/systemd/cloud-init.service.tmpl
|
||
|
+++ b/systemd/cloud-init.service.tmpl
|
||
|
@@ -16,6 +16,7 @@ After=networking.service
|
||
|
"miraclelinux", "openEuler", "rhel", "rocky", "virtuozzo"] %}
|
||
|
After=network.service
|
||
|
After=NetworkManager.service
|
||
|
+After=NetworkManager-wait-online.service
|
||
|
{% endif %}
|
||
|
{% if variant in ["suse"] %}
|
||
|
After=wicked.service
|
||
|
--
|
||
|
2.38.1
|
||
|
|