installertreemedia: Log unattended script contents

This commit is contained in:
Cole Robinson 2019-03-05 16:26:36 -05:00
parent 49ae679702
commit 4e13bc6b19

View File

@ -179,6 +179,11 @@ class InstallerTreeMedia(object):
guest, self._unattended_data)
path, cmdline = unattended.generate_install_script(script)
logging.debug("Generated unattended cmdline: %s", cmdline)
logging.debug("Generated unattended script: %s", path)
logging.debug("Generated script contents:\n%s",
open(path).read())
self.initrd_injections.append(path)
self._tmpfiles.append(path)