summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Holmstrom <gholms@eucalyptus.com>2012-08-03 14:01:13 -0700
committerGarrett Holmstrom <gholms@eucalyptus.com>2012-08-03 14:01:13 -0700
commite44dc25e34c97bd53c373567be817b65e9ef3b09 (patch)
tree7729433175939805c0c134804163728b8689656d
parentd1c6ad4a9bfaba86e101642330bd478d9badd361 (diff)
downloadvyos-cloud-init-e44dc25e34c97bd53c373567be817b65e9ef3b09.tar.gz
vyos-cloud-init-e44dc25e34c97bd53c373567be817b65e9ef3b09.zip
systemd: update program calling formats
-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