No problem with the test. The following are the contents of the file:
# System Bootloader Configuration
Bootloader--LOCATION=MBR
# Partition Clearing Information
Clearpart--all--initlabel
# Run The Setup Agent on first boot
Firstboot--disable
# Activate X
Xconfig--startxonboot
# Use Network Installation
URL--url= $tree
# additional repostories get added here
$yum _repo_stanza
# Reboot after installation
Reboot
# System Keyboard
Keyboard US
# System Language
Lang en_US
# System TimeZone
TimeZone America/new_york
# Root Password
ROOTPW--iscrypted $default _password_crypted
# Install OS instead of upgrade
Install
# Clear the Master Boot Record
Zerombr
# Allow Anaconda to partition the system as needed
Autopart
%packages
@base
@chinese-support
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-X
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-policy
@x11
Mtools
Pax
Oddjob
Wodim
Sgpio
Genisoimage
Device-mapper-persistent-data
Abrt-gui
Samba-winbind
Certmonger
Pam_krb5
Krb5-workstation
Gnome-pilot
Libxmu
%end
%post
# Create a default user to log in X
Useradd Desktop-user
Passwd-d Desktop-user
# adds the Yum repositories to the installed system
$yum _config_stanza
# Cobbler Final Steps
$SNIPPET (' Kickstart_done ')
%end
Cobbler remotely install a CentOS server kickstart file with images