mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Update initrd and kernel path for ppc64le platform.
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.
This commit is contained in:
parent
137a6c4600
commit
cd35470e3c
@ -677,6 +677,8 @@ class GenericDistro(Distro):
|
|||||||
]
|
]
|
||||||
_hvm_paths = [("images/pxeboot/vmlinuz",
|
_hvm_paths = [("images/pxeboot/vmlinuz",
|
||||||
"images/pxeboot/initrd.img"), # Fedora
|
"images/pxeboot/initrd.img"), # Fedora
|
||||||
|
("ppc/ppc64/vmlinuz",
|
||||||
|
"ppc/ppc64/initrd.img"), # CenOS 7 ppc64le
|
||||||
]
|
]
|
||||||
_iso_paths = ["images/boot.iso", # RH/Fedora
|
_iso_paths = ["images/boot.iso", # RH/Fedora
|
||||||
"boot/boot.iso", # Suse
|
"boot/boot.iso", # Suse
|
||||||
|
Loading…
Reference in New Issue
Block a user