31 lines
909 B
Diff
31 lines
909 B
Diff
From 6e725f36647407d201af0603d7db11fc96a93d4d Mon Sep 17 00:00:00 2001
|
|
From: James Falcon <james.falcon@canonical.com>
|
|
Date: Tue, 13 Dec 2022 10:55:23 -0600
|
|
Subject: [PATCH] Ensure network ready before cloud-init service runs on
|
|
RHEL
|
|
(#1893)
|
|
|
|
Reference:https://github.com/canonical/cloud-init/commit/6e725f36647407d201af0603d7db11fc96a93d4d
|
|
Conflict:NA
|
|
|
|
LP: #1998655
|
|
---
|
|
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 25830e0..d62b46f 100644
|
|
--- a/systemd/cloud-init.service.tmpl
|
|
+++ b/systemd/cloud-init.service.tmpl
|
|
@@ -16,6 +16,7 @@ After=networking.service
|
|
"openeuler", "rhel", "rocky", "virtuozzo"] %}
|
|
After=network.service
|
|
After=NetworkManager.service
|
|
+After=NetworkManager-wait-online.service
|
|
{% endif %}
|
|
{% if variant in ["suse"] %}
|
|
After=wicked.service
|
|
--
|
|
2.27.0
|
|
|