self._os_variant returns sles11sp4 sles11sp3 and so on. Lets match those as well to pickup the right kernels. Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx> --- virtinst/urldetect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtinst/urldetect.py b/virtinst/urldetect.py index 2351f8d5..f96dc0f3 100644 --- a/virtinst/urldetect.py +++ b/virtinst/urldetect.py @@ -539,7 +539,7 @@ class SuseDistro(Distro): "boot/%s/initrd-xen" % tree_arch)) if (tree_arch == "s390x" and - (self._os_variant == "sles11" or self._os_variant == "sled11")): + str(self._os_variant).startswith(("sles11", "sled11"))): self._kernel_paths.append( ("boot/s390x/vmrdr.ikr", "boot/s390x/initrd")) -- 2.19.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list