During prepare, let's pass down the media to generate_install_script() in order to properly perform an unattended installation based on the media. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- virtinst/installertreemedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtinst/installertreemedia.py b/virtinst/installertreemedia.py index 4d77d0dd..3547a477 100644 --- a/virtinst/installertreemedia.py +++ b/virtinst/installertreemedia.py @@ -189,7 +189,7 @@ class InstallerTreeMedia(object): cmdline = None if self._unattended_data: path, cmdline = generate_install_script( - guest, self._unattended_data) + guest, self._unattended_data, self._media) self.initrd_injections.append(path) self._tmpfiles.append(path) -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list