summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init-local.service4
-rw-r--r--systemd/cloud-init.service1
2 files changed, 2 insertions, 3 deletions
diff --git a/systemd/cloud-init-local.service b/systemd/cloud-init-local.service
index 55834ba4..9b3e88fa 100644
--- a/systemd/cloud-init-local.service
+++ b/systemd/cloud-init-local.service
@@ -1,14 +1,14 @@
[Unit]
Description=Initial cloud-init job (pre-networking)
DefaultDependencies=no
-Wants=local-fs.target
Wants=network-pre.target
-After=local-fs.target
+After=systemd-remount-fs.service
Before=basic.target
Before=NetworkManager.service
Before=network-pre.target
Before=shutdown.target
Conflicts=shutdown.target
+RequiresMountsFor=/var/lib
[Service]
Type=oneshot
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index 85e447d2..cde6ed84 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -2,7 +2,6 @@
Description=Initial cloud-init job (metadata service crawler)
DefaultDependencies=no
Wants=cloud-init-local.service
-Wants=local-fs.target
Wants=sshd-keygen.service
Wants=sshd.service
After=cloud-init-local.service