# acpub_workstation install text lang en_US langsupport --default en_US.iso885915 en_US.iso885915 keyboard us mouse generic3ps/2 --device psaux skipx network --device eth0 --bootproto dhcp rootpw --iscrypted !! url --url http://install.linux.duke.edu/pub/linux/base/9/i386/ firewall --medium --dhcp --port ssh:tcp authconfig --enableshadow --enablemd5 timezone America/New_York bootloader --location=mbr reboot # 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 part / --fstype ext3 --size=1024 part /export --fstype ext3 --size=1 --grow part /usr --fstype ext3 --size=4500 part /var --fstype ext3 --size=2048 part /tmp --fstype ext3 --size=1024 part swap --size=256 --grow --maxsize=1024 %packages @ Development Tools @ Editors @ GNOME Desktop Environment @ Games and Entertainment @ Graphical Internet @ Graphics @ Kernel Development @ Office/Productivity @ Printing Support @ Server Configuration Tools @ System Tools @ Text-based Internet @ X Window System @ KDE Desktop Environment @ Sound and Video krb5-workstation krbafs-utils %post ## Machine specifics # let there be sudo # Strongly recommend putting a user in here instead of having # the root password set in the ks.cfg. Substitute netid with # the appropriate netid and uncomment to activate. #echo "netid ALL=(ALL) ALL" >> /etc/sudoers 2>> /root/post.err.log # There is interesting stuff to use while we are on campus perl -pi.bak -e "s/^#//g" /etc/yum.conf 2>> /root/post.err.log # Add zephyr /usr/bin/yum -y install zephyr zephyr-X11 >> /root/post.log 2>> /root/post.err.log # set the zephyr host manager to start on boot up /sbin/chkconfig zhm on >> /root/post.log 2>> /root/post.err.log # Add openafs /usr/bin/yum -y install openafs openafs-client openafs-kernel aklog >> /root/post.log 2>> /root/post.err.log # Set the /u link ln -sf /afs/acpub/users /u >> /root/post.log 2>> /root/post.err.log # Sync the time /usr/bin/rdate -s 152.3.250.1 >> /root/post.log 2>> /root/post.err.log /sbin/hwclock --systohc >> /root/post.log 2>> /root/post.err.log ## General scripts SCRIPTS="acpub_auth.sh ip_tables_default.sh pam_access.sh" mkdir -p /tmp/post cd /tmp/post for i in ${SCRIPTS} ; do wget http://yum.oit.duke.edu/scripts/${i} /bin/sh /tmp/post/${i} >> /root/post.log 2>> /root/post.err.log done