summaryrefslogtreecommitdiff
path: root/bin/cloud-init
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-31 14:38:09 +0000
committerScott Moser <smoser@ubuntu.com>2015-07-31 14:38:09 +0000
commitb22302d8e2b539f61faede7efb3a163966bf170a (patch)
treeb847791cea471ebf31a870926c1c8a21888757c3 /bin/cloud-init
parent6f174b41496f133af92fb373f3b718eabdebfa05 (diff)
downloadvyos-cloud-init-b22302d8e2b539f61faede7efb3a163966bf170a.tar.gz
vyos-cloud-init-b22302d8e2b539f61faede7efb3a163966bf170a.zip
fix issues found when testing
Diffstat (limited to 'bin/cloud-init')
-rwxr-xr-xbin/cloud-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index 6a47e5e8..c808eda5 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -636,8 +636,8 @@ def main():
"running single module %s" % args.name)
report_on = args.report
- reporter = reporting.ReportStack(rname, rdesc, reporting=report_on)
- with reporter:
+ args.reporter = reporting.ReportStack(rname, rdesc, reporting=report_on)
+ with args.reporter:
return util.log_time(
logfunc=LOG.debug, msg="cloud-init mode '%s'" % name,
get_uptime=True, func=functor, args=(name, args))