Skip to content

Commit

Permalink
Update initrd and kernel path for ppc64le platform.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mkumatag authored and crobinso committed Aug 16, 2016
1 parent 137a6c4 commit cd35470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions virtinst/urlfetcher.py
Expand Up @@ -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
Expand Down

0 comments on commit cd35470

Please sign in to comment.