We are attempting to create a custom RHEL7.9 ISO that automates the installation on our servers. All the servers are Lenovo ST250's. The intention is to have no user input when the kickstarted installation runs -- just put the install DVD in the drive, boot, and walk away -- so it needs to automatically determine the device to install to. The issue is that we currently accomplish this by telling the kickstart to install to sda (ignoredisk --only-use=sda), and sda seems to randomly bounce between the hard disk and the tape drive in these machines, so the load randomly fails. The fact that this happens is well documented, but we don't know a way around it.
How can we, in a totally automated way, ensure in our kickstart that we are installing to the one and only hard drive in the machine, and not some other storage device like a tape drive?