installer: Log when cleaning up the unattended files

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

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2019-06-07 12:03:21 +02:00 committed by Cole Robinson
parent 98bd275969
commit 2dd006d6f2
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ class Installer(object):
def _cleanup_unattended_files(self): def _cleanup_unattended_files(self):
for f in self._unattended_files: for f in self._unattended_files:
logging.debug("Removing %s", str(f))
os.unlink(f) os.unlink(f)
def _build_boot_order(self, guest, bootdev): def _build_boot_order(self, guest, bootdev):