We are looking for someone to help us write a kickstart %pre script in bash that will grab the list of drives on a server , order them by size , taking the smallest drive and setting it as a variable. We are ope to other ways of doing this in the kickstart. We simple need the smallest size drive with the highest alphabetical drive letter to be a variable that we can use to put into partitioning layout
If I correctly understand you want a script that first list down all the diskspace and find out the smallest one with biggest name first then so on.
Is my understanding correct?
Thanks
Relevant Skills and Experience
Linux/Unix
Shell Perl Python