# Kickstart file for msubck AMANDA server # note MSU campus networking # install from http url --url http://mirror.msulocal/mirror/scientific/6.2/x86_64/os lang en_US.UTF-8 keyboard us #network --onboot yes --device eth0 --bootproto static --ip 35.9.71.50 --netmask 255.248.0.0 --noipv6 --nameserver 35.8.2.41 --hostname hep.pa.msu.edu # SHA512 rootpw --iscrypted $6$Mbs0L0mI$YE6P.T2uZurGZcYsJaeBQG5KpIAvrA/u7zWMVthgHIVmsOl50 nV64R9iIZJS9nXnorttj./0t4ekBrMnAxC530 firewall --service=ssh authconfig --enableshadow --passalgo=sha512 timezone --utc America/Detroit bootloader --location=mbr --append="crashkernel=auto" reboot %packages @base @client-mgmt-tools @console-internet @core @directory-client @hardware-monitoring @large-systems @misc-sl @performance @perl-runtime xorg-x11-xauth %pre #!/bin/sh mkdir /tmp/anaconda-pre ls -l /dev/disk/by-path > /tmp/anaconda-pre/disks-by-path-pre.out %end %post --nochroot cp -r /tmp/anaconda-pre /mnt/sysimage/root %end %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 <> /root/.ssh/authorized_keys < /etc/ssh/sshd_config <&1 | tee /root/anaconda_post-ssh-keys.log %end