summaryrefslogtreecommitdiff
path: root/systemd/cloud-init.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/cloud-init.service')
-rw-r--r--systemd/cloud-init.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index d12852d8..6b0c7229 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -1,9 +1,9 @@
[Unit]
Description=Initial cloud-init job (metadata service crawler)
After=local-fs.target network.target cloud-init-local.service
-Before=sshd.service
+Before=sshd.service sshd-keygen.service
Requires=network.target
-Wants=local-fs.target cloud-init-local.service sshd.service
+Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service
[Service]
Type=oneshot