urlfetcher: Add classes for SUSE distros

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Charles Arnold
2015-05-29 16:51:47 +08:00
committed by Cole Robinson
parent 7251a2ba6e
commit 9ea3fcd1fc

View File

@@ -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/