bug 4469: add the check for ppc64le arch in pre.rh.rhel7

This commit is contained in:
ligc 2014-12-11 16:32:38 +08:00
parent 4924d8a9c5
commit 0e98588df8

2
xCAT-server/share/xcat/install/scripts/pre.rh.rhel7 Normal file → Executable file
View File

@ -196,7 +196,7 @@ if uname -r|grep '^3.*el7' > /dev/null; then
EFIFSTYPE=efi
fi
if [ `uname -m` = "ppc64" ]; then
if [ `uname -m` = "ppc64" -o `uname -m` = "ppc64le" ]; then
echo 'part None --fstype "PPC PReP Boot" --ondisk '$instdisk' --size 8' >> /tmp/partitioning
fi
if [ -d /sys/firmware/efi ]; then