diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-07-31 19:27:52 +0000 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-07-31 19:27:52 +0000 |
commit | 07b452e166b5d2ff34d5558b1dbba42ab0f1f23c (patch) | |
tree | 706d3850da203485a21beb98a1e5abcb76a32d21 /bin | |
parent | 35ddad2cee3209c90de74de96a54aaf0b4f14ea9 (diff) | |
download | vyos-cloud-init-07b452e166b5d2ff34d5558b1dbba42ab0f1f23c.tar.gz vyos-cloud-init-07b452e166b5d2ff34d5558b1dbba42ab0f1f23c.zip |
plumb the rest the reporting through
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cloud-init | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/cloud-init b/bin/cloud-init index de3b9fbf..d369a806 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -284,7 +284,7 @@ def main_init(name, args): return (init.datasource, ["Consuming user data failed!"]) # Stage 8 - re-read and apply relevant cloud-config to include user-data - mods = stages.Modules(init, extract_fns(args)) + mods = stages.Modules(init, extract_fns(args), reporter=args.reporter) # Stage 9 try: outfmt_orig = outfmt @@ -329,7 +329,7 @@ def main_modules(action_name, args): if not args.force: return [(msg)] # Stage 3 - mods = stages.Modules(init, extract_fns(args)) + mods = stages.Modules(init, extract_fns(args), reporter=args.reporter) # Stage 4 try: LOG.debug("Closing stdin") @@ -384,7 +384,7 @@ def main_single(name, args): if not args.force: return 1 # Stage 3 - mods = stages.Modules(init, extract_fns(args)) + mods = stages.Modules(init, extract_fns(args), reporter=args.reporter) mod_args = args.module_args if mod_args: LOG.debug("Using passed in arguments %s", mod_args) @@ -630,7 +630,8 @@ def main(): else: rname, rdesc = ("init-network", "searching for network datasources") elif name == "modules": - rname, rdesc = ("modules-%s" % args.mode, "running modules for %s") + rname, rdesc = ("modules-%s" % args.mode, + "running modules for %s" % args.mode) elif name == "single": rname, rdesc = ("single/%s" % args.name, "running single module %s" % args.name) |