2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

fix issue [DEV] RHEL 7.2 can't install on ppc64le Non-Virtualized

This commit is contained in:
ertaozh 2016-04-25 04:09:43 -04:00
parent 40542f6c3c
commit d2475a918d

View File

@ -97,7 +97,9 @@ if [ -z "$install_disk" ]; then
fi
# If there is kernel file, add partition's disk into disk_array
for i in $ker_dir/vmlinuz*; do
# It seems the kernel file in ubuntu and sles are named like vmlinux, but in RH it is called vmlinuz
# To check both vmlinux and vmlinuz, use regular expression "vmlinu*" to match them
for i in $ker_dir/vmlinu*; do
disk_part=${partition%%[0-9]*}
touch "$tmpfile$disk_part"
disk_array=$disk_array"$disk_part "