diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2015-01-16 13:11:06 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-01-16 13:11:06 -0500 |
commit | 64f27180fb349646ed7d073248fe22685df428b4 (patch) | |
tree | 57aee9a183dcd1f7429dd25f354c94687e070db1 /systemd/cloud-init.service | |
parent | a61ec07ed02d725a004ec17b4ae5257c89d67987 (diff) | |
parent | df288bf65a436f42509b10b604a1e169c44c49e6 (diff) | |
download | vyos-cloud-init-64f27180fb349646ed7d073248fe22685df428b4.tar.gz vyos-cloud-init-64f27180fb349646ed7d073248fe22685df428b4.zip |
systemd: run cloud-init before systemd-user-sessions.service
This fixes a race condition that can cause cloud-init output to be spit out
over the login prompt on the console when booting under systemd.
Diffstat (limited to 'systemd/cloud-init.service')
-rw-r--r-- | systemd/cloud-init.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service index 6b0c7229..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 +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 |