how to play with multiple disks in kickstart file part 2

Hi All,

I am confuse in how to create my kickstart file more generic for multiple hardware like

1. to create 2 vg's every time with 50-50% space of whole disk.
2. is it possible to that if 2 disks present then we can create raid 1 of those disk automatically or as an option we can ask user to choose?

for now below i am using:

## Bootloader
bootloader --location=mbr --driveorder=sda,hda --append="crashkernel=auto"

## Partition table
clearpart --all

## Partion Declaration

part /boot --fstype=ext4 --size=256
part pv.008226 --size=25600
part pv.008227 --size=15360

please help me with more generic code i can use to work on most - thank you!
The RockAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

joolsSenior Systems AdministratorCommented:
I believe you need to use the `ondisk` directive in the kickstart file

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The RockAuthor Commented:
Thanks it helps me partially
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.