mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-09-10 01:44:19 +03:00
urldetect: Drop explict ALTLinux support
libosinfo should cover this for us now
This commit is contained in:
@@ -767,20 +767,6 @@ class _UbuntuDistro(_DebianDistro):
|
|||||||
_debname = "ubuntu"
|
_debname = "ubuntu"
|
||||||
|
|
||||||
|
|
||||||
class _ALTLinuxDistro(_DistroTree):
|
|
||||||
PRETTY_NAME = "ALT Linux"
|
|
||||||
matching_distros = ["altlinux"]
|
|
||||||
|
|
||||||
def _set_manual_kernel_paths(self):
|
|
||||||
self._kernel_paths = [
|
|
||||||
("syslinux/alt0/vmlinuz", "syslinux/alt0/full.cz")]
|
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def is_valid(cls, cache):
|
|
||||||
# altlinux doesn't have installable URLs, so this is just for ISO
|
|
||||||
return cache.content_regex(".disk/info", ".*ALT .*")
|
|
||||||
|
|
||||||
|
|
||||||
class _MandrivaDistro(_DistroTree):
|
class _MandrivaDistro(_DistroTree):
|
||||||
# ftp://ftp.uwsg.indiana.edu/linux/mandrake/official/2007.1/x86_64/
|
# ftp://ftp.uwsg.indiana.edu/linux/mandrake/official/2007.1/x86_64/
|
||||||
PRETTY_NAME = "Mandriva/Mageia"
|
PRETTY_NAME = "Mandriva/Mageia"
|
||||||
|
Reference in New Issue
Block a user