From 9ea3fcd1fc0b75528ea429130b52e47ae9d5442e Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Fri, 29 May 2015 16:51:47 +0800 Subject: [PATCH] urlfetcher: Add classes for SUSE distros Signed-off-by: Lin Ma --- virtinst/urlfetcher.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py index 2b15bf89d..d83c6daa7 100644 --- a/virtinst/urlfetcher.py +++ b/virtinst/urlfetcher.py @@ -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/