Example Ubuntu 12.04 Kickstart File
149
# SELinux
#selinux --enforcing
selinux --permissive
# Services running at boot
services --enabled network,sshd
services --disabled sendmail
# Disable anything graphical
skipx
text
# Set up the disk
zerombr
clearpart --all
part / --fstype=ext4 --grow --size=1024 --asprimary
#part swap --size=512 # lets do no swap partition for now
bootloader --location=mbr --timeout=5
# Shut down when the kickstart is done
reboot
# Minimal package set
%packages --excludedocs --nobase
@Core
%end
# Nothing for now.
#%post
#%end
11.3.20. Example Ubuntu 12.04 Kickstart File
#/var/lib/cobbler/kickstarts/lucid.ks
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse