2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00

Add an ignoredisk directive to the partitionfile

When installing, explicitly tell anaconda to only manipulate
$instdisk.  Anaconda tends to be too aggressive about disks.
This commit is contained in:
Jarrod Johnson
2016-10-14 08:13:17 -04:00
parent 9c2e5aceab
commit e803d56405

View File

@@ -175,6 +175,7 @@ if uname -r|grep -q '^3.*el7'; then
EFIFSTYPE=efi
fi
echo "ignoredisk --only-use=$instdisk" >> /tmp/partitionfile
if [ `uname -m` = "ppc64" -o `uname -m` = "ppc64le" ]; then
echo 'part None --fstype "PPC PReP Boot" --ondisk '$instdisk' --size 8' >> /tmp/partitionfile
fi