2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 02:30:21 +00:00

Merge pull request #965 from zet809/fix_issue_948

fix issue 948 [DEV] RHEL 7.2 can't install on ppc64le Non-Virtualized
This commit is contained in:
Xiaopeng Wang
2016-04-25 19:56:26 +08:00

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 "