From 4482b675b48c3537fbd67105ae585f1629bbaefc Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 3 Dec 2021 08:32:25 -0500 Subject: [PATCH] Wait for network to get ssh certificates --- .../initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh b/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh index e217a287..94b5411b 100644 --- a/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh +++ b/confluent_osdeploy/coreos/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh @@ -46,6 +46,9 @@ PartOf=sshd.service Before=sshd.service After=sshd-keygen.target Wants=sshd-keygen.target +Requires=network-online.target +After=network-online.target + [Install] WantedBy=sshd.service