# Kickstart file automatically generated by anaconda. install nfs --server ictlab.tyict.vtc.edu.hk --dir /var/ftp/pub/rh-8.0-updated lang en_US langsupport --default en_US.UTF-8 keyboard us mouse generic3ps/2 --device psaux --emulthree xconfig --card "RIVA TNT2" --videoram 32768 --hsync 30.0-71.0 --vsync 50.0-161.0 --resolution 1024x768 --depth 32 --startxonboot --defaultdesktop gnome network --device eth0 --bootproto dhcp rootpw --iscrypted $1$ÇÆõËyÕaú$Xq1U.i5SLi2fc.WiFJo2e0 firewall --disabled authconfig --enableshadow --enablemd5 --enablecache --enableldap --enableldapauth --ldapserver ldap.tyict.vtc.edu.hk --ldapbasedn dc=tyict,dc=vtc,dc=edu,dc=hk --enableldaptls timezone Asia/Hong_Kong bootloader --location=mbr # 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 partition / --size=1600 --maxsize=5000 --grow --fstype ext3 --ondisk hda partition swap --size=400 --fstype swap --ondisk hda partition swap --noformat --onpart hdc6 %packages --resolvedeps @ Administration Tools @ Brazilian Support @ British Support @ Canadian Support @ Catalan Support @ Chinese Support @ Danish Support @ Dutch Support @ Editors @ Emacs @ Estonian Support @ Finnish Support @ French Support @ GNOME Desktop Environment @ German Support @ Greek Support @ Hebrew Support @ Hungarian Support @ Icelandic Support @ Italian Support @ Japanese Support @ Korean Support @ Norwegian Support @ Polish Support @ Portuguese Support @ Romanian Support @ Russian Support @ Serbian Support @ Server Configuration Tools @ Slovak Support @ Slovenian Support @ Spanish Support @ Swedish Support @ System Tools @ Turkish Support @ Ukrainian Support gnome-audio firstboot mozilla gtk-engines gnome-vfs-extras xdelta authconfig-gtk gnome-media lrzsz redhat-config-httpd gedit gdm gnome-system-monitor gimp-print-utils openssh-askpass gftp indexhtml redhat-config-printer-gui gqview redhat-logviewer rhn-applet desktop-backgrounds-extra magicdev redhat-config-kickstart redhat-config-xfree86 hpijs file-roller redhat-config-bind redhat-config-services openssh-askpass-gnome redhat-switchmail-gnome XFree86-xdm xisdnload gnome-vfs2-extras samba-client hwbrowser mozilla-nspr openldap-clients openldap-devel openldap-servers redhat-config-network redhat-config-proc redhat-config-nfs screen mtr-gtk ggv gtk2-engines psgml gnome-user-docs gconf-editor redhat-config-users vim-enhanced redhat-switch-printer-gnome compat-libstdc++ net-snmp-devel %post echo $PATH > /tmp/kickstart-path-test-for-nick.txt pwd >> /tmp/kickstart-path-test-for-nick.txt /bin/mount >> /tmp/kickstart-path-test-for-nick.txt # Set up ntp: /bin/cp /etc/ntp.conf /tmp/ntp.conf-orig /bin/sed '/^server.*$/s//server ntp.tyict.vtc.edu.hk/ /^fudge/s//#&/ /^multicastclient/s//#&/ /^broadcastdelay/s//#&/' /tmp/ntp.conf-orig > /tmp/ntp.conf /usr/bin/install -m644 /tmp/ntp.conf /etc/ntp.conf /bin/rm /tmp/ntp.conf-orig /tmp/ntp.conf /sbin/chkconfig --level 345 ntpd on # Set up autofs access to the server. # Note: must cope with where has already been set up. if ! grep '/\.auto[[:space:]]\+/etc/auto.nfs' /etc/auto.master > /dev/null 2>&1 then /bin/cp /etc/auto.master /tmp/auto.master-orig /bin/sed '/\/.misc/s//#&/' /tmp/auto.master-orig > /tmp/auto.master echo "/.auto /etc/auto.auto --timeout=60" >> /tmp/auto.master /usr/bin/install -m644 /tmp/auto.master /etc/auto.master /bin/rm /tmp/auto.master-orig /tmp/auto.master fi echo "nfs -ro,soft,intr ictlab.tyict.vtc.edu.hk:/var/ftp/pub" > /etc/auto.auto /bin/mkdir /.auto /bin/ln -s .auto/nfs /nfs /sbin/chkconfig --level 345 autofs on # # Add Nick to the sudoers file: # if ! grep nicku /etc/sudoers > /dev/null 2>&1; then # echo "nicku ALL=(ALL) ALL" >> /etc/sudoers # fi # if ! grep nickl /etc/sudoers > /dev/null 2>&1; then # echo "nickl ALL=(ALL) ALL" >> /etc/sudoers # fi # configure for local accounts: /bin/mkdir /home2 > /dev/null 2>&1 /usr/sbin/useradd -D -b /home2 # Turn some evil stuff off: #/sbin/chkconfig --level 345 telnet off #/sbin/chkconfig --level 345 finger off /sbin/chkconfig --level 2345 ipchains off #/sbin/service ipchains stop # Install the wonderful keychain: mkdir /mnt/temp mount 172.19.64.52:/var/ftp/pub/tarball /mnt/temp install -m755 /mnt/temp/keychain/keychain /usr/bin umount /mnt/temp rmdir /mnt/temp