Content of Kickstart install file

lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp --hostname helium
rootpw --iscrypted longstringofcharacters firewall --service=ssh
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
selinux --permissive
timezone --utc Asia/Singapore
bootloader --location=mbr --driveorder=xvda --append=" LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=hvc0"
# 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=xvda --initlabel
zerombr yes
part /boot --fstype=ext3 --size=500 --asprimary
part pv.01 --grow --size=1

volgroup vg_helium --pesize=4096 pv.01
logvol / --fstype=ext4 --name=lv_root --vgname=vg_helium --grow --size=1024
logvol swap --name=lv_swap --vgname=vg_helium --size=512

user --name=username --password=sha512edstring  --iscrypted --groups=wheel



# Setup password-less ssh logins for user 'kyl191'
mkdir /home/kyl191/.ssh
touch /home/kyl191/.ssh/authorized_keys
echo authorizedkeydetails > /home/kyl191/.ssh/authorized_keys

# Set screen options globally
echo "vbell off
startup_message off
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%d/%m %{G}%C%A]'
termcapinfo xterm|xterms|xs|rxvt [email protected]:[email protected]" >> /etc/screenrc

# Allow people in group 'wheel' access to sudo
echo "# Added by Kickstart install options
%wheel ALL=(ALL) ALL" >> /etc/sudoers

# disable & enable a few services
# note: have to do a clean install and remove packages which we don't want in the final install
# So the services which will be disabled may disappear.
chkconfig --levels=35 ntpd on
chkconfig avahi-daemon off
chkconfig cpuspeed off
chkconfig netfs off
chkconfig nfslock off
chkconfig pcscd off
chkconfig sendmail off


  1. No comments yet.
(will not be published)