[virt-manager PATCH] virt-install: use correct path for linux and initrd for SLES on ppc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <phrdina@xxxxxxxxxx>
---
 virtinst/urlfetcher.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index fd0c4e0..a63e200 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,
-- 
2.6.2

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux