diff options
author | Scott Moser <smoser@brickies.net> | 2016-10-04 16:40:12 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-10-04 16:40:12 -0400 |
commit | 94fd35eeb3f53bc82fb9ddcad60c1e605890fd53 (patch) | |
tree | cc5cb5d582c6270b0e2d5709095c9f163c3eae10 /systemd | |
parent | 760a4f1852ee7241c00804ebf210b6a4b1e9063d (diff) | |
download | vyos-cloud-init-94fd35eeb3f53bc82fb9ddcad60c1e605890fd53.tar.gz vyos-cloud-init-94fd35eeb3f53bc82fb9ddcad60c1e605890fd53.zip |
systemd: run cloud-init.service Before dbus.service
This is the best work around we have for an issue seen when dns is used
during cloud-init.service on a system that is configured in nsswitch
to use systemd-resolved. The problem is that cloud-init.service was
blocking basic.target, and dbus would not be available until after
cloud-init.service finished.
LP: #1629797
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/cloud-init.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service index 1e392a39..bbddb2da 100644 --- a/systemd/cloud-init.service +++ b/systemd/cloud-init.service @@ -9,6 +9,7 @@ After=cloud-init-local.service After=networking.service Requires=networking.service Before=basic.target +Before=dbus.target Before=network-online.target Before=sshd-keygen.service Before=sshd.service |