From 9c9e1172f9cd3a7abd1ccab4cf60862c3b9a2848 Mon Sep 17 00:00:00 2001 From: Joshua Schmid Date: Tue, 25 Aug 2015 11:55:36 +0200 Subject: [PATCH] Wait for network to become ready to avoid early key retrieval. Signed-off-by: Joshua Schmid (cherry picked from commit 5a0718dd0a7f4b6f075f33de0301c47bf5e9921b) --- systemd/ceph-disk-activate-journal@.service | 1 + systemd/ceph-disk-activate@.service | 1 + 2 files changed, 2 insertions(+) diff --git a/systemd/ceph-disk-activate-journal@.service b/systemd/ceph-disk-activate-journal@.service index 1718a8b6c6719..3dc24a025bcba 100644 --- a/systemd/ceph-disk-activate-journal@.service +++ b/systemd/ceph-disk-activate-journal@.service @@ -1,5 +1,6 @@ [Unit] Description=Ceph disk journal activation: %f +After=network-online.target [Service] Type=simple diff --git a/systemd/ceph-disk-activate@.service b/systemd/ceph-disk-activate@.service index e7b090b478d5d..1ae3f88ae05dc 100644 --- a/systemd/ceph-disk-activate@.service +++ b/systemd/ceph-disk-activate@.service @@ -1,5 +1,6 @@ [Unit] Description=Ceph disk activation: %f +After=network-online.target [Service] Type=simple -- 2.39.5