From 4578a4ec0f7c17d0a3b00a213f5e2dc07cb37f0b Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Mon, 2 Nov 2015 13:43:59 +0100 Subject: [PATCH] virt-install: use correct path for linux and initrd for SLES on ppc64 Install DVD of SLES for ppc64 has different path where linux and initrd are located. Add those paths to kernel_paths to search also there, in case we are installing SLES on ppc64 host. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1270430 Signed-off-by: Pavel Hrdina --- virtinst/urlfetcher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py index fd0c4e085..a63e20001 100644 --- a/virtinst/urlfetcher.py +++ b/virtinst/urlfetcher.py @@ -972,6 +972,9 @@ class SuseDistro(Distro): # Tested with Opensuse 10.0 self._hvm_kernel_paths.append(("boot/loader/%s" % oldkern, "boot/loader/%s" % oldinit)) + # Tested with SLES 12 for ppc64le + self._hvm_kernel_paths.append(("boot/%s/linux" % self.arch, + "boot/%s/initrd" % self.arch)) # Matches Opensuse > 10.2 and sles 10 self._xen_kernel_paths = [("boot/%s/vmlinuz-xen" % self.arch,