vmbuilder team mailing list archive
-
vmbuilder team
-
Mailing list archive
-
Message #00067
[Merge] lp:~serge-hallyn/vmbuilder/cleanup-iso into lp:vmbuilder
Serge Hallyn has proposed merging lp:~serge-hallyn/vmbuilder/cleanup-iso into lp:vmbuilder.
Requested reviews:
VMBuilder (vmbuilder)
--
https://code.launchpad.net/~serge-hallyn/vmbuilder/cleanup-iso/+merge/43528
Your team VMBuilder is requested to review the proposed merge of lp:~serge-hallyn/vmbuilder/cleanup-iso into lp:vmbuilder.
=== modified file 'VMBuilder/distro.py'
--- VMBuilder/distro.py 2010-06-15 19:10:04 +0000
+++ VMBuilder/distro.py 2010-12-13 15:36:56 +0000
@@ -66,7 +66,7 @@
try:
call_hooks(self, *args, **kwargs)
except Exception:
- #self.cleanup()
+ self.cleanup()
raise
class Distro(Context):
@@ -83,6 +83,7 @@
self.call_hooks('bootstrap')
self.call_hooks('configure_os')
self.call_hooks('post_install')
+ self.cleanup()
def has_xen_support(self):
"""Install the distro into destdir"""
Follow ups