summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-24 12:04:09 -0500
committerScott Moser <smoser@ubuntu.com>2011-01-24 12:04:09 -0500
commitf57d00275779ce86b457ad7efc8ceb4fbb020c43 (patch)
treeeb163a293e17ae5af119e6243eef907b2b3325be /upstart
parentbe61755c7723790b68f30b8acaf1ce8ba2410dd4 (diff)
downloadvyos-cloud-init-f57d00275779ce86b457ad7efc8ceb4fbb020c43.tar.gz
vyos-cloud-init-f57d00275779ce86b457ad7efc8ceb4fbb020c43.zip
make the module list that cloud-config selects specified via cmdline
instead of hard-coding in cloud-init-cfg the module list that should be read, read it from the second command line argument. Basically, instead of reading 'cloud_config_modules', specify 'cloud_config' when cloud-init-cfg is run. change the upstart job to invoke cloud-init-cfg with: exec cloud-init-cfg all cloud_config rather than exec cloud-init-cfg all
Diffstat (limited to 'upstart')
-rw-r--r--upstart/cloud-config.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/upstart/cloud-config.conf b/upstart/cloud-config.conf
index 6649a99d..5c6fed82 100644
--- a/upstart/cloud-config.conf
+++ b/upstart/cloud-config.conf
@@ -5,4 +5,4 @@ start on (filesystem and started rsyslog)
console output
task
-exec cloud-init-cfg all
+exec cloud-init-cfg all cloud_config