|
|
80b265 |
From 3114e706818b0eebb3c41b372a3515cf5ead275e Mon Sep 17 00:00:00 2001
|
|
|
80b265 |
From: Eduardo Otubo <otubo@redhat.com>
|
|
|
80b265 |
Date: Tue, 21 Apr 2020 16:58:28 +0200
|
|
|
80b265 |
Subject: [PATCH] Make cloud-init.service execute after network is up
|
|
|
80b265 |
|
|
|
80b265 |
RH-Author: Eduardo Otubo <otubo@redhat.com>
|
|
|
80b265 |
Message-id: <20200421122128.17489-1-otubo@redhat.com>
|
|
|
80b265 |
Patchwork-id: 96030
|
|
|
80b265 |
O-Subject: [RHEL-8.2.0.z cloud-init PATCH] Make cloud-init.service execute after network is up
|
|
|
80b265 |
Bugzilla: 1826262
|
|
|
80b265 |
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
80b265 |
RH-Acked-by: Daniel P. Berrange <berrange@redhat.com>
|
|
|
80b265 |
RH-Acked-by: Cathy Avery <cavery@redhat.com>
|
|
|
80b265 |
|
|
|
80b265 |
BZ: 1826262
|
|
|
80b265 |
BRANCH: rhel820/master-18.5
|
|
|
80b265 |
BREW: 28038801
|
|
|
80b265 |
|
|
|
80b265 |
cloud-init.service needs to wait until network is fully up before
|
|
|
80b265 |
continuing executing and configuring its service.
|
|
|
80b265 |
|
|
|
80b265 |
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
|
|
|
80b265 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
80b265 |
---
|
|
|
80b265 |
rhel/systemd/cloud-init.service | 1 +
|
|
|
80b265 |
1 file changed, 1 insertion(+)
|
|
|
80b265 |
|
|
|
80b265 |
diff --git a/rhel/systemd/cloud-init.service b/rhel/systemd/cloud-init.service
|
|
|
80b265 |
index d0023a0..0b3d796 100644
|
|
|
80b265 |
--- a/rhel/systemd/cloud-init.service
|
|
|
80b265 |
+++ b/rhel/systemd/cloud-init.service
|
|
|
80b265 |
@@ -5,6 +5,7 @@ Wants=sshd-keygen.service
|
|
|
80b265 |
Wants=sshd.service
|
|
|
80b265 |
After=cloud-init-local.service
|
|
|
80b265 |
After=NetworkManager.service network.service
|
|
|
80b265 |
+After=NetworkManager-wait-online.service
|
|
|
80b265 |
Before=network-online.target
|
|
|
80b265 |
Before=sshd-keygen.service
|
|
|
80b265 |
Before=sshd.service
|
|
|
80b265 |
--
|
|
|
80b265 |
1.8.3.1
|
|
|
80b265 |
|