[CentOS] Centos EL6 install issue

Mon Jul 18 18:23:39 UTC 2011
Jerry Geis <geisj at pagestation.com>

>
> How are you installing? CD, netinstall ?
>   
I am using the KVM virtual machine.
I then use the CDROM to get the boot process running at the first screen
I hit tab and add to the line:

 ks=http://IP/ks.cfg

My kickstart file
My file is:

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5 
# System bootloader configuration
bootloader --location=mbr 
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --none  
# Use text install
text
# Firewall configuration
firewall --enabled --http --ssh --smtp  
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging --level=info
# Use network installation
url --url=http://IPofCourse/pxe-install/CentOS-6.0-x86_64
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# Auto reboot (to being next install faze)
reboot 
#Root password
rootpw  mnkickstart
%include /tmp/partition-information
%include /tmp/timezone-information

repo --name=Updates --baseurl=http://IPofCourse/centos/6.0/updates/x86_64/

# SELinux configuration
selinux --disabled
# Install OS instead of upgrade
install
# X Window System configuration information
graphical

%pre 
HD1="/dev/sda"
HD1SHORT="sda"

# Virtual Image testing files
ROOTSIZE=8000
SWAPSIZE=1000
SWAPGROW=""
HOMEGROW=""

##Â Save partitioning information into file so include section can grab it.
echo "bootloader --location=mbr --driveorder=$HD1SHORT --append=\"rhgb quiet\"					"	>  /tmp/partition-information
echo "clearpart --all --initlabel 										"	>> /tmp/partition-information
echo "part /     --ondisk=$HD1SHORT --fstype ext4 --size=$ROOTSIZE --asprimary					"	>> /tmp/partition-information
echo "part swap  --ondisk=$HD1SHORT               --size=$SWAPSIZE --asprimary $SWAPGROW			"	>> /tmp/partition-information
if [ "$HOMEGROW" = "--grow" ]
then
	echo "part /home --ondisk=$HD1SHORT --fstype ext4 --size=1         --asprimary $HOMEGROW		"	>> /tmp/partition-information
fi

%end

%packages
@additional-devel
@base
@compat-libraries
@debugging
@desktop-platform
@development
@fonts
@general-desktop
@graphical-admin-tools
@internet-browser
@mail-server
@network-tools
@office-suite
@security-tools
@server-platform
@web-server
@x11
gconf-editor
hmaccalc
iptstate
system-config-kickstart
vim-X11
-httpd-manual
-mod_perl
-mod_wsgi
sendmail
sendmail-cf
imake
-sysreport
ncurses-devel
compat-openldap
openldap-clients
vnc
tftp
tftp-server
dhcp
libxml2
libxml2-devel
lsscsi
alsa-lib-devel
crypto-utils
mod_ssl
openssl
tcl
tk
libX11
libX11-devel
libXext
ImageMagick
perl-XML-Parser

%end



Jerry