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

[virt-tools-list] [RFC PATCH 3/6] virtinstall: add missing OSes



Some OS are not present in libosinfo, add them.

Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
---
 virtinst/osdict.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/virtinst/osdict.py b/virtinst/osdict.py
index 3bb59b9..481d5db 100644
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -457,3 +457,18 @@ oslist = db.get_os_list()
 for os in range(oslist.get_length()):
     osi = _OsVariantOsInfo(oslist.get_nth(os))
     _allvariants[osi.name] = osi
+
+# ADD MISSING OSes
+_add_var("generic24", "Generic 2.4.x kernel", parent="linux")
+_add_var("generic26", "Generic 2.6.x kernel", parent="generic24")
+_add_var("virtio26", "Generic 2.6.25 or later kernel with virtio", sortby="genericvirtio26", virtiodisk=True, virtionet=True, parent="generic26")
+_add_var("altlinux", "ALT Linux", urldistro="altlinux", supported=True, virtiodisk=True, virtionet=True, inputtype="tablet", inputbus="usb", parent="linux")
+_add_var("solaris11", "Sun Solaris 11", inputtype=None, inputbus=None, parent="solaris")
+_add_var("rhel7", "Red Hat Enterprise Linux 7", supported=False, parent="rhel6")
+_add_var("ubuntusaucy", "Ubuntu 13.10 (Saucy Salamander)", parent="ubunturaring")
+_add_var("mbs1", "Mandriva Business Server 1 and later", supported=True, virtiodisk=True, virtionet=True, parent="linux")
+_add_var("mandriva2009", "Mandriva Linux 2009 and earlier", urldistro="mandriva", parent="linux")
+_add_var("mandriva2010", "Mandriva Linux 2010 and later", virtiodisk=True, virtionet=True, parent="mandriva2009")
+_add_var("freebsd10", "FreeBSD 10.x", supported=False, virtiodisk=True, virtionet=True, parent="freebsd9")
+_add_var("winxp64", "Microsoft Windows XP (x86_64)", supported=True, sortby="mswin564", parent="windows")
+_add_var("mageia1", "Mageia 1 and later", urldistro="mandriva", supported=True, virtiodisk=True, virtionet=True, inputtype="tablet", inputbus="usb", parent="linux")
-- 
1.8.3.1


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