Return information about created image.

This commit is contained in:
Tomasz Rybak 2014-06-30 20:02:50 +02:00
parent bde3019b45
commit 869d7d770c

View file

@ -78,6 +78,7 @@ def run(opts):
tasklist.run(info=bootstrap_info, dry_run=opts['--dry-run'])
# We're done! :-)
log.info('Successfully completed bootstrapping')
return bootstrap_info
except (Exception, KeyboardInterrupt) as e:
# When an error occurs, log it and begin rollback
log.exception(e)