summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-08-14 11:26:09 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-14 11:26:09 -0400
commitcfd72f2833c5f8ca71a86da06a67ffbfce7f39f5 (patch)
tree090bcc39a392f97da6afa32fa2bcd85d9d7bdac0 /config
parent0243c5d9c7948e247a85870a24835e2f5ce92cb0 (diff)
parente7116b69f093600e1e156ee332417d0a30b0df9c (diff)
downloadvyos-cloud-init-cfd72f2833c5f8ca71a86da06a67ffbfce7f39f5.tar.gz
vyos-cloud-init-cfd72f2833c5f8ca71a86da06a67ffbfce7f39f5.zip
move cloud-config event to a config module
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.
Diffstat (limited to 'config')
-rw-r--r--config/cloud.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cloud.cfg b/config/cloud.cfg
index 72e413d5..2b4d9e63 100644
--- a/config/cloud.cfg
+++ b/config/cloud.cfg
@@ -32,6 +32,9 @@ 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'.
+ - emit_upstart
- mounts
- ssh-import-id
- locale