mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Return information about created image.
This commit is contained in:
parent
bde3019b45
commit
869d7d770c
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ def run(opts):
|
||||||
tasklist.run(info=bootstrap_info, dry_run=opts['--dry-run'])
|
tasklist.run(info=bootstrap_info, dry_run=opts['--dry-run'])
|
||||||
# We're done! :-)
|
# We're done! :-)
|
||||||
log.info('Successfully completed bootstrapping')
|
log.info('Successfully completed bootstrapping')
|
||||||
|
return bootstrap_info
|
||||||
except (Exception, KeyboardInterrupt) as e:
|
except (Exception, KeyboardInterrupt) as e:
|
||||||
# When an error occurs, log it and begin rollback
|
# When an error occurs, log it and begin rollback
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue