diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2015-01-15 09:14:34 -0800 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2015-01-15 09:14:34 -0800 |
commit | 72d4be8b5d8650f1f3c1c32f2a728a22c7f6ad1f (patch) | |
tree | 67aca73970f9170ecc345a1e54d51e770c4979f4 /systemd | |
parent | a61ec07ed02d725a004ec17b4ae5257c89d67987 (diff) | |
download | vyos-cloud-init-72d4be8b5d8650f1f3c1c32f2a728a22c7f6ad1f.tar.gz vyos-cloud-init-72d4be8b5d8650f1f3c1c32f2a728a22c7f6ad1f.zip |
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.
Diffstat (limited to 'systemd')
-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..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 |