[virt-install PATCH v2 2/7] osdict: Add OsinfoMedia class

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

 



The OsinfoMedia class is a wrapper around OsinfoMedia and will help us
to keep the logic of dealing with media related stuff from inside
osdict.py

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

diff --git a/virtinst/osdict.py b/virtinst/osdict.py
index c49c45e4..6486643d 100644
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -611,3 +611,8 @@ class _OsVariant(object):
 
         installscript = _get_install_script(script_list)
         return installscript
+
+
+class OsMedia(object):
+    def __init__(self, osinfo_media):
+        self.osinfo_media = osinfo_media
-- 
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