From 72d4be8b5d8650f1f3c1c32f2a728a22c7f6ad1f Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 15 Jan 2015 09:14:34 -0800 Subject: Ensure that when running under systemd, cloud-init.service is run before we display any getty on the console so that the cloud-init output doesn't get written on top of a login prompt. --- systemd/cloud-init.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd') diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service index 6b0c7229..64471cdf 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 +Before=sshd.service sshd-keygen.service getty.target Requires=network.target Wants=local-fs.target cloud-init-local.service sshd.service sshd-keygen.service -- cgit v1.2.3