This is how I tested :

1. Download -
http://mirror.centos.org/altarch/7/isos/ppc64le/CentOS-7-AltArch-ppc64le-NetInstall-1511.iso
 to /root
2. Save the content from https://da.gd/NLuP to /root/centos-7ppc64le.ks
3. Loop mount /root/CentOS-7-AltArch-ppc64le-NetInstall-1511.iso
to /mnt/cdrom

4. Then start the install by following command:

/usr/share/virt-manager/virt-install -n centos_test_vm -r 1024 --noreboot
--noautoconsole --debug --graphics none
--initrd-inject /root/centos-7ppc64le.ks --disk
path=/var/tmp/diskjJxxyA.img,format=raw --disk
path=/root/CentOS-7-AltArch-ppc64le-NetInstall-1511.iso,device=cdrom,readonly=on,shareable=on
 --extra-args ks=file:/centos-7ppc64le.ks inst.cmdline
stage2=live:CDLABEL=CentOS_AltArch_7_ppc64le --location /mnt/cdrom
--channel
tcp,host=127.0.0.1:33696,mode=connect,target_type=virtio,name=org.fedoraproject.anaconda.log.0



From:   Cole Robinson <[email protected]>
To:     Manjunath A Kumatagi/India/IBM@IBMIN,
            [email protected]
Date:   08/09/2016 09:12 PM
Subject:        Re: [virt-tools-list] [PATCH] Update initrd and kernel path for
            ppc64le platform.



On 08/09/2016 06:21 AM, Manjunath A Kumatagi wrote:
> In CentOS 7 ppc64le platform initrd and kernel files are present under
ppc/ppc64 folder. Currently GenericDistro module will find only under
images/pxeboot folder. So to support custom boot the CentOS 7 ppc64le
platform I've added the code to search under ppc/ppc64 folder as well.

Can you give me an example public URL to test with?

Thanks,
Cole

> ---
>  virtinst/urlfetcher.py |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
> index 692a297..49e5ebd 100644
> --- a/virtinst/urlfetcher.py
> +++ b/virtinst/urlfetcher.py
> @@ -677,6 +677,8 @@ class GenericDistro(Distro):
>                  ]
>      _hvm_paths = [("images/pxeboot/vmlinuz",
>                      "images/pxeboot/initrd.img"),       # Fedora
> +                  ("ppc/ppc64/vmlinuz",
> +                    "ppc/ppc64/initrd.img"),            # CenOS 7
ppc64le
>                  ]
>      _iso_paths = ["images/boot.iso",                   # RH/Fedora
>                     "boot/boot.iso",                     # Suse
>
> _______________________________________________
> virt-tools-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>



_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to