summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-config.service2
-rw-r--r--systemd/cloud-final.service2
-rw-r--r--systemd/cloud-init-local.service2
-rw-r--r--systemd/cloud-init.service2
4 files changed, 4 insertions, 4 deletions
diff --git a/systemd/cloud-config.service b/systemd/cloud-config.service
index f08049da..8bc09c94 100644
--- a/systemd/cloud-config.service
+++ b/systemd/cloud-config.service
@@ -6,7 +6,7 @@ Wants=network.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/cloud-init-cfg all config
+ExecStart=/usr/bin/cloud-init modules --mode=config
RemainAfterExit=yes
# Output needs to appear in instance console output
diff --git a/systemd/cloud-final.service b/systemd/cloud-final.service
index 19aa02b9..684b9ec3 100644
--- a/systemd/cloud-final.service
+++ b/systemd/cloud-final.service
@@ -6,7 +6,7 @@ Wants=network.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/cloud-init-cfg all final
+ExecStart=/usr/bin/cloud-init modules --mode=final
RemainAfterExit=yes
# Output needs to appear in instance console output
diff --git a/systemd/cloud-init-local.service b/systemd/cloud-init-local.service
index bce81fe7..b605c3e2 100644
--- a/systemd/cloud-init-local.service
+++ b/systemd/cloud-init-local.service
@@ -5,7 +5,7 @@ After=local-fs.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/cloud-init start-local
+ExecStart=/usr/bin/cloud-init init --local
RemainAfterExit=yes
# Output needs to appear in instance console output
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index b204f5cc..be07df3b 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -6,7 +6,7 @@ Wants=local-fs.target cloud-init-local.service
[Service]
Type=oneshot
-ExecStart=/usr/bin/cloud-init start
+ExecStart=/usr/bin/cloud-init init
RemainAfterExit=yes
# Output needs to appear in instance console output