Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,39 @@ | ||
# Kickstart file automatically generated by anaconda. | ||
|
||
install | ||
url --url=http://mirror.bytemark.co.uk/centos/5.5/os/i386 | ||
url --url=http://mirrors.cat.pdx.edu/fedora/linux/releases/14/Fedora/i386/os/ | ||
lang en_US.UTF-8 | ||
langsupport --default=en_US.UTF-8 en_US.UTF-8 | ||
keyboard us | ||
xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 | ||
network --device eth0 --bootproto dhcp | ||
rootpw --iscrypted $1$vSG8FjAu$ekQ0grf16hS4G93HTPcco/ | ||
#xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 | ||
network --onboot yes --device eth0 --bootproto dhcp --noipv6 | ||
rootpw --iscrypted $6$n/NGsk5H2aiBMXL4$r/oPkJtB5rasvQHPo9AvIJBe6sNVlQbpZxvTRMN7.qZk/Sn9u2qZ0XgNxflUvK20y7OIWdr/vv7MED6gzkBiH0 | ||
firewall --enabled --trust eth0 --ssh | ||
selinux --enforcing | ||
authconfig --enableshadow --enablemd5 | ||
timezone Europe/London | ||
bootloader --location=mbr | ||
authconfig --enableshadow --passalgo=sha512 --enablefingerprint | ||
timezone --utc America/Los_Angeles | ||
bootloader --location=mbr --driveorder=sda --append="nomodeset rhgb quiet" | ||
# The following is the partition information you requested | ||
# Note that any partitions you deleted are not expressed | ||
# here so unless you clear all partitions first, this is | ||
# not guaranteed to work | ||
clearpart --all --drives=sda --initlabel | ||
part /boot --fstype ext3 --size=100 --ondisk=sda | ||
part pv.2 --size=0 --grow --ondisk=sda | ||
volgroup VolGroup00 --pesize=32768 pv.2 | ||
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=528 --grow --maxsize=1056 | ||
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow | ||
part /boot --fstype=ext4 --size=500 --ondisk=sda | ||
part pv.2 --size=0 --grow --size=500 | ||
volgroup vg_main --pesize=32768 pv.2 | ||
logvol swap --fstype=swap --name=lv_swap --vgname=vg_main --size=528 --grow --maxsize=1056 | ||
logvol / --fstype=ext4 --name=lv_root --vgname=vg_main --size=1024 --grow | ||
repo --name="Fedora 14 - i386" --baseurl=http://mirrors.xmission.com/fedora/releases/14/Everything/i386/os/ --cost=1000 | ||
repo --name="Fedora 14 - i386 - Updates" --baseurl=http://mirror.pnl.gov/fedora/linux/updates/14/i386/ --cost=1000 | ||
reboot | ||
|
||
%packages | ||
#@ admin-tools | ||
#@ text-internet | ||
#@ dialup | ||
#@ smb-server | ||
#@ web-server | ||
#@ printing | ||
#@ server-cfg | ||
@ core | ||
grub | ||
e2fsprogs | ||
lvm2 | ||
@core | ||
@online-docs | ||
%end | ||
|
||
%post | ||
/usr/sbin/groupadd vagrant | ||
/usr/sbin/useradd vagrant -g vagrant -G wheel | ||
echo "vagrant"|passwd --stdin vagrant | ||
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
%end |