summaryrefslogtreecommitdiff
path: root/bin/cloud-init
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-29 11:41:15 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-29 11:41:15 -0700
commitd56da066da89cd5ca89cb52e1a99e1d3e0a570d9 (patch)
tree3407b29fda001f7f58dc9b18071f7e2e9b211a96 /bin/cloud-init
parent093868a5cd60f163cbbbfb247544254bd2e20804 (diff)
downloadvyos-cloud-init-d56da066da89cd5ca89cb52e1a99e1d3e0a570d9.tar.gz
vyos-cloud-init-d56da066da89cd5ca89cb52e1a99e1d3e0a570d9.zip
Add a message about why the second consume_userdata occurs since its not very obvious.
Diffstat (limited to 'bin/cloud-init')
-rwxr-xr-xbin/cloud-init3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index d3ef092f..025195d4 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -229,7 +229,8 @@ def main_init(name, args):
# Just consume anything that is set to run per-always
# if nothing ran in the per-instance code
#
- # TODO: should this always happen?? (even if the above runs?)
+ # See: https://bugs.launchpad.net/bugs/819507 for a little
+ # reason behind this...
init.consume_userdata(PER_ALWAYS)
except Exception:
util.logexc(LOG, "Consuming user data failed!")