Let's add unattended data to the Installer class as it's going to be used whenever a Windows unattended installation is performed. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- virtinst/installer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/virtinst/installer.py b/virtinst/installer.py index 0d60bb02..2ae20a84 100644 --- a/virtinst/installer.py +++ b/virtinst/installer.py @@ -52,6 +52,7 @@ class Installer(object): self._install_floppy_device = None self._unattended_files = [] self._defaults_are_set = False + self._unattended_data = None if location_kernel or location_initrd: if not location: @@ -321,6 +322,8 @@ class Installer(object): def set_unattended_data(self, unattended_data): if self._treemedia: self._treemedia.set_unattended_data(unattended_data) + else: + self._unattended_data = unattended_data ########################## -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list