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 398b90ea..48920283 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
+After=local-fs.target network-online.target cloud-init-local.service
Before=sshd.service sshd-keygen.service systemd-user-sessions.service
-Requires=network.target
+Requires=network-online.target
Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service
[Service]