# Kickstart file automatically generated by anaconda. install nfs --server=10.10.128.16 --dir=/export/distro/SL/6.2/x86_64/os lang en_US.UTF-8 keyboard us network --onboot yes --device em1 --bootproto static --ip 10.10.128.90 --netmask 255.255.240.0 --noipv6 --nameserver 10.10.128.16 network --onboot yes --device em2 --bootproto static --ip 192.41.236.90 --netmask=255.255.254.0 --gateway 192.41.236.1 --noipv6 --hostname msu-kvm-0.aglt2.org rootpw --iscrypted $6$c/jJKFx3$vnk7ncvDKQbDKKZd2o1.b2Vox4PjrVVxwidwYsUyHUje8JCdKgiEh71kbCjBJnJ/RxgWn6z0AmpjmEH7BnANy. firewall --service=ssh authconfig --enableshadow --passalgo=sha512 selinux --disabled timezone --utc America/New_York bootloader --location=mbr --append="crashkernel=auto" # identify drives based on PCI ID # drives naming went by PERC6E (sda, sdb, sdc) then internal RAID (sdd) clearpart --all --drives=/dev/disk/by-path/pci-0000:03:00.0-scsi* ignoredisk --drives=/dev/disk/by-path/pci-0000:05:00.0-scsi* part /boot --fstype=ext4 --size=200 --ondisk=/dev/disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0 part pv.888 --grow --size=1 --ondisk=/dev/disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0 volgroup vg_sys --pesize=4096 pv.888 logvol /home --fstype=ext4 --name=lv_home --vgname=vg_sys --size=10000 logvol / --fstype=ext4 --name=lv_root --vgname=vg_sys --size=8000 logvol /var --fstype=ext4 --name=lv_root --vgname=vg_sys --size=8000 logvol swap --name=lv_swap --vgname=vg_sys --size=18128 repo --name="Scientific Linux" --baseurl=nfs:10.10.128.16:/export/distro/SL/6.2/x86_64/os --cost=100 reboot %packages @base @client-mgmt-tools @console-internet @core @debugging @directory-client @hardware-monitoring @java-platform @large-systems @misc-sl @network-file-system-client @performance @perl-runtime @scalable-file-systems @server-platform @virtualization @virtualization-tools @virtualization-platform @virtualization-client oddjob sgpio pax certmonger pam_krb5 krb5-workstation perl-DBD-SQLite xorg-x11-xauth %pre #!/bin/sh mkdir /tmp/anaconda-pre ls -l /dev/disk/by-path > /tmp/anaconda-pre/disks-by-path-pre.out %post --nochroot cp -r /tmp/anaconda-pre /mnt/sysimage/root %post # paren for redirect of ouput to logfile... ( echo "post script ssh keys 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 < /etc/ssh/sshd_config <&1 | tee /root/anaconda_post-ssh-keys.log