summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2015-01-16 08:36:30 -0800
committerSteve Langasek <steve.langasek@canonical.com>2015-01-16 08:36:30 -0800
commitdf288bf65a436f42509b10b604a1e169c44c49e6 (patch)
treeeb43f8de1ea635258fbce4e30d01dacd2394b739 /systemd
parent72d4be8b5d8650f1f3c1c32f2a728a22c7f6ad1f (diff)
downloadvyos-cloud-init-df288bf65a436f42509b10b604a1e169c44c49e6.tar.gz
vyos-cloud-init-df288bf65a436f42509b10b604a1e169c44c49e6.zip
Use systemd-user-sessions.service for sequencing, not getty.target, for correct race-free ordering
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index 64471cdf..398b90ea 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -1,7 +1,7 @@
[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 getty.target
+Before=sshd.service sshd-keygen.service systemd-user-sessions.service
Requires=network.target
Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service