how to make the first disk /dev/sda always

Latest response

Hi All ,

I have a kickstart file with the below definition for the disk on which the rhel os should get installed

clearpart -all -initlabel
ignoredisk --only-use=sda
part /boot --fstype=ext4 --size=500 --ondisk=sda
part swao --size=4096 --ondisk=sda
part / --fstype=ext4 --size=1024 --grow --ondisk=sda

I have only one disk on all my servers . but when i try to do a automatic deployment of OS on these servers, some servers fails to
find the disk bcos the disk it creates may be sdb or sdd or sde irrespective it has only one disk .
Is there a way to force the first disk ,the server sees to be named /dev/sda ?

Or is there any way i can specify in kickstart file, to perform the partitioning on ,any or first, disk it finds. [sda/sdb/sdd/sde ..]

appreciate any help .