How to determine which disk is available in the system prior to kickstarting it?
Issue
- There are some different machine available in the lab.
- Some are Virtual Machine, some are physical machines with hard disks named as
hda/sda/vda
orcciss/c0d0
- Need to create a single universal kickstart file for all of them and need to detect which disk is available in the system and partition according to that.
- There is only one disk available in the machine either
hda/sda/vda
orcciss/c0d0
. Not in doubles.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Anaconda
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.