From df288bf65a436f42509b10b604a1e169c44c49e6 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 16 Jan 2015 08:36:30 -0800 Subject: Use systemd-user-sessions.service for sequencing, not getty.target, for correct race-free ordering --- systemd/cloud-init.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd/cloud-init.service') 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 -- cgit v1.2.3