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

Fabiano Fidêncio fidencio at redhat.com
Thu Jun 6 14:11:36 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 48436453..48052450 100644
--- a/virtinst/installer.py
+++ b/virtinst/installer.py
@@ -144,6 +144,7 @@ class Installer(object):
             return
 
         for f in self._unattended_files:
+            logging.debug("Removing %s", str(f))
             os.unlink(f)
 
         logging.debug("Removing %s", util.get_unattended_cache_dir())
-- 
2.21.0




More information about the virt-tools-list mailing list