<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 26, 2016 at 3:37 AM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On 04/25/2016 03:13 AM, Leno Hou wrote:<br>
> 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>
>      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>
><br>
><br>
<br>
</div></div>How are you testing this? I can't find an ubuntu install tree. Is there a<br>
public URL or install media you are using?<br>
<br>
Thanks,<br>
Cole<br>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">1) Problem Description:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    Virt-install command to create Ubuntu 16.04 guest fails with ' Could not find an installable</div><div class="gmail_extra">    distribution'  on s390x architecture.</div><div class="gmail_extra"><br></div><div class="gmail_extra">2) This patch JUST enabled Ubuntu 16.04 s390x architecture detection.</div><div class="gmail_extra">     For other architecture, it's already enabled with Ubuntu 16.04 detection.</div><div class="gmail_extra">     As reference, you can download the Installation ISO and take a look at</div><div class="gmail_extra">     the install tree.</div><div class="gmail_extra"><br></div><div class="gmail_extra">3) I've tested this patch and works fine for s390x architecture. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Ubuntu 16.04 public download URL for all architecture, daily build.</div><div class="gmail_extra"><a href="http://cdimage.ubuntu.com/ubuntu-server/daily/current/">http://cdimage.ubuntu.com/ubuntu-server/daily/current/</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Leno Hou</div></div>