Add a message about why the second consume_userdata occurs since its not very obvious.

This commit is contained in:
Joshua Harlow 2012-06-29 11:41:15 -07:00
parent 214e7291e2
commit 67cfabecbf

View File

@ -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!")