[virt-install PATCH v2 11/14] installer: Add set_unattended_data() method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The new method will be used to pass down the unattended_data to the
InstallerTreeMedia class.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 virtinst/installer.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/virtinst/installer.py b/virtinst/installer.py
index fe840abf..67cdfb29 100644
--- a/virtinst/installer.py
+++ b/virtinst/installer.py
@@ -276,6 +276,10 @@ class Installer(object):
         logging.debug("installer.detect_distro returned=%s", ret)
         return ret
 
+    def set_unattended_data(self, unattended_data):
+        if self._treemedia:
+            self._treemedia.set_unattended_data(unattended_data)
+
 
     ##########################
     # guest install handling #
-- 
2.20.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux