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:
parent
40542f6c3c
commit
d2475a918d
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user