mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
urlfetcher: Add classes for SUSE distros
Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
committed by
Cole Robinson
parent
7251a2ba6e
commit
9ea3fcd1fc
@@ -873,6 +873,20 @@ class SuseDistro(Distro):
|
||||
return self.os_variant
|
||||
|
||||
|
||||
class SLESDistro(SuseDistro):
|
||||
urldistro = "sles"
|
||||
|
||||
|
||||
class SLEDDistro(SuseDistro):
|
||||
urldistro = "sled"
|
||||
|
||||
|
||||
# Suse image store is harder - we fetch the kernel RPM and a helper
|
||||
# RPM and then munge bits together to generate a initrd
|
||||
class OpensuseDistro(SuseDistro):
|
||||
urldistro = "opensuse"
|
||||
|
||||
|
||||
class DebianDistro(Distro):
|
||||
# ex. http://ftp.egr.msu.edu/debian/dists/sarge/main/installer-i386/
|
||||
# daily builds: http://d-i.debian.org/daily-images/amd64/
|
||||
|
||||
Reference in New Issue
Block a user