SIGN IN SIGN UP

fix(getinstdisk): prefer direct attached disks over RAID volumes

The driver sort put the ahci and ata_piix controllers in the same
choice group as the PMC MaxRAID and megaraid_sas RAID controllers. On a
server with both, the sort could select a RAID data volume as the OS
install disk.

Move the RAID controllers to the second choice group. The direct
attached controllers hold the likely boot volume, and a server with
only RAID volumes still selects them from the second group. The SAS
host adapters move to the third group and every other driver to a new
fourth group, so the relative order of the remaining drivers does not
change. The RHEL 10 installer includes its own copy of the script, so
both carry the change.

Recovered from the lenovobuild branch.
V
Vinícius Ferrão committed
1d8fe040c767072d581db6cfd4cee6827dae8973
Parent: a34576a