<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-04-25 15:13 GMT+08:00 Leno Hou <span dir="ltr"><<a href="mailto:lenohou@gmail.com" target="_blank">lenohou@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Leno Hou <<a href="mailto:lenohou@gmail.com">lenohou@gmail.com</a>><br>
CC: Kevin Zhao < <a href="mailto:kevin.zhaoshuai@gmail.com">kevin.zhaoshuai@gmail.com</a>><br>
---<br>
 virtinst/urlfetcher.py | 9 +++++++++<br>
 1 file changed, 9 insertions(+)<br>
<br>
diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py<br>
index 7f9da64..5d3f94e 100644<br>
--- a/virtinst/urlfetcher.py<br>
+++ b/virtinst/urlfetcher.py<br>
@@ -1158,6 +1158,10 @@ class UbuntuDistro(DebianDistro):<br>
     name = "Ubuntu"<br>
     urldistro = "ubuntu"<br>
<br>
+    _boot_iso_paths = []<br>
+    _hvm_kernel_paths = []<br>
+    _xen_kernel_paths = []<br>
+<br>
     </blockquote><div>Here there three parameters maybe appear in the class "DebianDistro", so I think </div><div>you don't need to add the the parameters here.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">def isValidStore(self):<br>
         if self.fetcher.hasFile("%s/MANIFEST" % self._url_prefix):<br>
             # For regular trees<br>
@@ -1169,6 +1173,11 @@ class UbuntuDistro(DebianDistro):<br>
             self._set_media_paths()<br>
             filename = "%s/netboot/<a href="http://version.info" rel="noreferrer" target="_blank">version.info</a>" % self._url_prefix<br>
             regex = "%s*" % <a href="http://self.name" rel="noreferrer" target="_blank">self.name</a><br>
+        elif self.fetcher.hasFile(".disk/info") and self.arch =="s390x":<br>
+            self._hvm_kernel_paths += [("boot/kernel.ubuntu", "boot/initrd.ubuntu")]<br>
+            self._xen_kernel_paths += [("boot/kernel.ubuntu", "boot/initrd.ubuntu")]<br>
+            filename = ".disk/info"<br>
+            regex = "%s*" % <a href="http://self.name" rel="noreferrer" target="_blank">self.name</a><br>
         else:<br>
             return False<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.9.1<br>
<br>
</font></span></blockquote></div><br></div></div>