Created
March 28, 2012 13:39
-
-
Save ksexton/2226256 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#platform=x86, AMD64, or Intel EM64T | |
# System authorization information | |
auth --useshadow --enablemd5 | |
bootloader --location=mbr | |
zerombr | |
clearpart --all --initlabel | |
text | |
autostep | |
firewall --disabled | |
firstboot --disable | |
keyboard us | |
lang en_US | |
logging --level=info | |
url --url=http://mirror.anl.gov/centos/5.8/os/x86_64 | |
network --bootproto=query | |
selinux --disabled | |
skipx | |
timezone America/Chicago | |
install | |
zerombr | |
clearpart --all --initlabel --drives=sda,sdb | |
ignoredisk --only-use=sda,sdb | |
bootloader --location=mbr --driveorder=sda,sdb | |
# /boot | |
part raid.01 --ondisk=sda --asprimary --size=256 | |
part raid.02 --ondisk=sdb --asprimary --size=256 | |
# / | |
part raid.11 --ondisk=sda --asprimary --size=40960 | |
part raid.12 --ondisk=sdb --asprimary --size=40960 | |
# <swap> | |
part raid.21 --ondisk=sda --asprimary --size=4096 | |
part raid.22 --ondisk=sdb --asprimary --size=4096 | |
# Format /boot and /. | |
raid /boot --fstype=ext3 --level=1 --device=md0 raid.01 raid.02 | |
raid / --fstype=ext3 --level=1 --device=md1 raid.11 raid.12 | |
raid swap --fstype=swap --level=1 --device=md2 raid.21 raid.22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment