Archive for October 9th, 2010

Content of Kickstart install file

install
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
vnc

%packages
@base
@core
@editors
@online-docs
@system-tools
@text-internet
@web-server
@smb-server
gpgme
gnupg2
vbetool
radeontool
ntpdate
-pam_ccreds
-pam_smb
-pam_pkcs11
-ftp
-pam_krb5
-microcode_ctl
-coolkey
-pcmciautils
-irda-utils
-pam_passwdqc
-zsh
-openconnect
-zisofs-tools
-NetworkManager-openconnect
-openvpn
-jigdo
-NetworkManager-openvpn
-vpnc
-NetworkManager-vpnc
-ipsec-tools
-openldap-clients
-bittorrent
-fetchmail
-slrn
-cadaver
-fpaste
-mutt
%end

%post

# 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


%end

No Comments