# krb-hep-0.ks # sl5.7 on vmware # install options install nfs --server=10.10.128.16 --dir=/export/distro/SL/57/x86_64 firstboot --disable logging --host=10.10.128.15 lang en_US.UTF-8 keyboard us authconfig --enableshadow --enablemd5 rootpw --iscrypted $1$GoGreen!$EDUO5NpTupZOHCx8jbbmS. firewall --enabled --trust=eth0 selinux --enforcing timezone --utc America/New_York skipx bootloader --location=mbr --driveorder=sda # partitioning # clear sda, make /boot partition zerombr clearpart --all --drives=sda part /boot --fstype=ext3 --size=100 # one pv, one vg part pv.01 --grow --size=1 volgroup vg_sys pv.01 # filesystems logvol swap --name=lv_swap --vgname=vg_sys --size=2000 logvol / --fstype=ext3 --name=lv_root --vgname=vg_sys --size=10000 # networking network --onboot yes --device eth0 --bootproto static --ip 10.10.136.80 --netmask=255.255.240.0 --noipv6 --nameserver 10.10.128.16 network --onboot yes --device eth1 --bootproto static --ip 35.9.71.40 --netmask=255.248.0.0 --noipv6 --gateway 35.8.2.3 --hostname krb-hep-0.pa.msu.edu reboot %packages @base @core @misc-sl @text-internet ntp krb5-workstation krb5-server #Post Scripts %post # paren for redirect of ouput to logfile... ( echo "post script running `date`" # Tom's ssh key for root access mkdir /root/.ssh chmod 700 /root/.ssh touch /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys cat >> /root/.ssh/authorized_keys <> /root/.ssh/authorized_keys < /etc/ssh/sshd_config <&1 | tee /root/anaconda_post.log