summaryrefslogtreecommitdiff
path: root/systemd/cloud-init-local.service
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-11-15 17:14:00 -0500
committerScott Moser <smoser@brickies.net>2016-11-15 17:20:41 -0500
commit9d826b8855797bd37e477b6da43153c49529afe8 (patch)
tree664d16212943b4220b18cf1505694d51b7dbbba8 /systemd/cloud-init-local.service
parentb6561a134936ba48eaccc447c3fe2526f0b84bb9 (diff)
downloadvyos-cloud-init-9d826b8855797bd37e477b6da43153c49529afe8.tar.gz
vyos-cloud-init-9d826b8855797bd37e477b6da43153c49529afe8.zip
systemd: cloud-init-local use RequiresMountsFor=/var/lib/cloud
While cloud-init writes its data to /var/lib/cloud, we previously lazily added RequiresMountsFor=/var/lib . It is more correct to list the more complete path. LP: #1642062
Diffstat (limited to 'systemd/cloud-init-local.service')
-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 7d89419c..7ee43eda 100644
--- a/systemd/cloud-init-local.service
+++ b/systemd/cloud-init-local.service
@@ -8,7 +8,7 @@ Before=network-pre.target
Before=shutdown.target
Before=sysinit.target
Conflicts=shutdown.target
-RequiresMountsFor=/var/lib
+RequiresMountsFor=/var/lib/cloud
[Service]
Type=oneshot