summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-11-15 14:40:56 -0500
committerScott Moser <smoser@brickies.net>2016-11-15 14:40:56 -0500
commitd0e293e4d4a2d6b41c5e6e2ee312bb1aae6031a9 (patch)
tree48f9c147c9df85875acd06d6268274e0f4dbceaa /systemd
parent584b8434872322a9f617831742cc6b15977ecfbc (diff)
downloadvyos-cloud-init-d0e293e4d4a2d6b41c5e6e2ee312bb1aae6031a9.tar.gz
vyos-cloud-init-d0e293e4d4a2d6b41c5e6e2ee312bb1aae6031a9.zip
systemd: cloud-init-local change Before basic to sysinit
sysinit.target happens earlier in boot than basic.target. cloud-init-local.service had: Before=basic.target but cloud-init.service had: After=cloud-init-local.service Before=sysinit.target The result was that cloud-init-local.service was indirectly Before sysinit.target anyway, so this change is just to more specifically state that.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init-local.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init-local.service b/systemd/cloud-init-local.service
index 9b3e88fa..7d89419c 100644
--- a/systemd/cloud-init-local.service
+++ b/systemd/cloud-init-local.service
@@ -3,10 +3,10 @@ Description=Initial cloud-init job (pre-networking)
DefaultDependencies=no
Wants=network-pre.target
After=systemd-remount-fs.service
-Before=basic.target
Before=NetworkManager.service
Before=network-pre.target
Before=shutdown.target
+Before=sysinit.target
Conflicts=shutdown.target
RequiresMountsFor=/var/lib