diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-08-09 20:48:01 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-08-09 20:48:01 -0700 |
commit | d9a4aad5d5cc8cb78997d66850d1916341b8d1cd (patch) | |
tree | 6ff4e524db9c3d10787cb82b9787473fb9209b08 /config | |
parent | 1bb67be5bd8c826717c9757f727406c73c7ef4e8 (diff) | |
download | vyos-cloud-init-d9a4aad5d5cc8cb78997d66850d1916341b8d1cd.tar.gz vyos-cloud-init-d9a4aad5d5cc8cb78997d66850d1916341b8d1cd.zip |
Move the code that did the 'cloud-config' upstart event name emitting to
a config module and make it more generic in that it can take in a list
of event names to emit as arguments. Add a yaml example to replace the functionality
removed from the main binary.
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/cloud.cfg b/config/cloud.cfg index 72e413d5..77b41063 100644 --- a/config/cloud.cfg +++ b/config/cloud.cfg @@ -32,6 +32,10 @@ cloud_init_modules: # The modules that run in the 'config' stage cloud_config_modules: +# Emit the cloud config ready event +# this can be used by upstart jobs for 'start on cloud-config'. + - name: emit_upstart + args: ["cloud-config"] - mounts - ssh-import-id - locale |