From ff8463b32caec41069c2e6be2475612271d138a0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 11 Apr 2014 11:27:13 -0400 Subject: [PATCH] Undo the increase in efi volume and instead influence anaconda's perspective of the 'bios' drive --- xCAT-server/share/xcat/install/scripts/pre.rh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/pre.rh b/xCAT-server/share/xcat/install/scripts/pre.rh index eab0b37fd..cba5d49f7 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.rh +++ b/xCAT-server/share/xcat/install/scripts/pre.rh @@ -219,7 +219,10 @@ if [ `uname -m` = "ppc64" ]; then echo 'part None --fstype "PPC PReP Boot" --ondisk '$instdisk' --size 8' >> /tmp/partitioning fi if [ -d /sys/firmware/efi ]; then - echo 'part /boot/efi --size 100 --ondisk '$instdisk' --fstype vfat' >> /tmp/partitioning + echo 'bootloader --driveorder='$instdisk >> /tmp/partitioning + echo 'part /boot/efi --size 50 --ondisk '$instdisk' --fstype vfat' >> /tmp/partitioning +else + echo 'bootloader' >> /tmp/partitioning fi #TODO: ondisk detection, /dev/disk/by-id/edd-int13_dev80 for legacy maybe, and no idea about efi. at least maybe blacklist SAN if mptsas/mpt2sas/megaraid_sas seen...