diff --git a/installer/pxe-network-installer/pxe-network-installer/grub.cfg.stx b/installer/pxe-network-installer/pxe-network-installer/grub.cfg.stx index 9449f7d2..76dcac1a 100755 --- a/installer/pxe-network-installer/pxe-network-installer/grub.cfg.stx +++ b/installer/pxe-network-installer/pxe-network-installer/grub.cfg.stx @@ -20,23 +20,8 @@ fi if [ -e ${boot_env_path}/boot.env ]; then load_env -s -f ${boot_env_path}/boot.env - - if [ "${boot_tried_count}" -eq "0" ]; then - set boot_tried_count="1" - elif [ "${boot_tried_count}" -eq "1" ]; then - set boot_tried_count="2" - elif [ "${boot_tried_count}" -eq "2" ]; then - set boot_tried_count="3" - elif [ "${boot_tried_count}" -eq "3" ]; then - if [ "${default}" -eq "1" ]; then - set default="0" - else - set default="1" - fi - save_env -f ${boot_env_path}/boot.env default - set boot_tried_count="0" - fi - save_env -f ${boot_env_path}/boot.env boot_tried_count + set default="0" + save_env -f ${boot_env_path}/boot.env default fi search --no-floppy --label --set=avol ${boot_part}${boot_mode} diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index 209bdf06..d8b712b6 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -2342,14 +2342,6 @@ else wlog "no kernel options added" fi -wlog "Disable LAT's automatic image selection toggle algorithm" -sed -i '/^search --no-floppy/i \ -set default="0" \ -save_env -f ${boot_env_path}/boot.env default \ -set boot_tried_count="0" \ -save_env -f ${boot_env_path}/boot.env boot_tried_count \ -' /boot/efi/EFI/BOOT/grub.cfg - ilog "Override LAT grub file" GRUB_PATH_N_FILE="/boot/efi/EFI/BOOT/grub.cfg" if [ ! -e ${GRUB_PATH_N_FILE}.lat ] ; then diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index b73ff227..94f3bed9 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -2484,14 +2484,6 @@ else wlog "no kernel options added" fi -wlog "Disable LAT's automatic image selection toggle algorithm" -sed -i '/^search --no-floppy/i \ -set default="0" \ -save_env -f ${boot_env_path}/boot.env default \ -set boot_tried_count="0" \ -save_env -f ${boot_env_path}/boot.env boot_tried_count \ -' /boot/efi/EFI/BOOT/grub.cfg - ilog "Override LAT grub file" GRUB_PATH_N_FILE="/boot/efi/EFI/BOOT/grub.cfg" if [ ! -e ${GRUB_PATH_N_FILE}.lat ] ; then