mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
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 <phrdina@redhat.com>
This commit is contained in:
parent
3a33f3414f
commit
4578a4ec0f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user