[virt-tools-list] [virt-manager PATCH] virt-install: use correct path for linux and initrd for SLES on ppc64
Cole Robinson
crobinso at redhat.com
Mon Nov 2 15:56:44 UTC 2015
On 11/02/2015 07:51 AM, Pavel Hrdina wrote:
> 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 at redhat.com>
> ---
> 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,
>
ACK
- Cole
More information about the virt-tools-list
mailing list