From dd9499d0daa862bcf2ce11e2949134df22f07c84 Mon Sep 17 00:00:00 2001 From: Jordan Evans Date: Tue, 24 Jun 2014 12:33:12 -0700 Subject: Add wants for sshd to make sure there isn't a race condition --- systemd/cloud-init.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'systemd') diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service index 018a1fa8..d12852d8 100644 --- a/systemd/cloud-init.service +++ b/systemd/cloud-init.service @@ -1,8 +1,9 @@ [Unit] Description=Initial cloud-init job (metadata service crawler) After=local-fs.target network.target cloud-init-local.service +Before=sshd.service Requires=network.target -Wants=local-fs.target cloud-init-local.service +Wants=local-fs.target cloud-init-local.service sshd.service [Service] Type=oneshot -- cgit v1.2.3