[virt-tools-list] [virt-manager PATCH 6/7] installer: add unattended data
Fabiano Fidêncio
fidencio at redhat.com
Thu Mar 28 21:44:47 UTC 2019
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 at redhat.com>
---
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
More information about the virt-tools-list
mailing list