mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 18:50:28 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user