mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-05 20:58:31 +03:00
installer: add unattended data
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@redhat.com>
This commit is contained in:
parent
a9a983af30
commit
ec102a07a1
@ -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:
|
||||
@ -322,6 +323,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
|
||||
|
||||
|
||||
##########################
|
||||
|
Loading…
x
Reference in New Issue
Block a user