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.service8
1 files changed, 4 insertions, 4 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index 398b90ea..6fb655e6 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -1,8 +1,8 @@
[Unit]
Description=Initial cloud-init job (metadata service crawler)
-After=local-fs.target network.target cloud-init-local.service
-Before=sshd.service sshd-keygen.service systemd-user-sessions.service
-Requires=network.target
+After=cloud-init-local.service networking.service
+Before=network-online.target sshd.service sshd-keygen.service systemd-user-sessions.service
+Requires=networking.service
Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service
[Service]
@@ -15,4 +15,4 @@ TimeoutSec=0
StandardOutput=journal+console
[Install]
-WantedBy=multi-user.target
+WantedBy=cloud-init.target