[virt-tools-list] [virt-manager PATCH 2/3] installer: Log when cleaning up the unattended files

Fabiano Fidêncio fidencio at redhat.com
Fri Jun 7 10:03:21 UTC 2019


Similarly to what's already done in installertreeinfo.py, let's log when
removing the files used during the unattended installation.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 virtinst/installer.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtinst/installer.py b/virtinst/installer.py
index 45caf930..ca23d526 100644
--- a/virtinst/installer.py
+++ b/virtinst/installer.py
@@ -141,6 +141,7 @@ class Installer(object):
 
     def _cleanup_unattended_files(self):
         for f in self._unattended_files:
+            logging.debug("Removing %s", str(f))
             os.unlink(f)
 
     def _build_boot_order(self, guest, bootdev):
-- 
2.21.0




More information about the virt-tools-list mailing list