# SCI Kickstart file for CentOS 7 on tracker.sci.pitt.edu

#version=RHEL7
install
url --url=http://mirror.cs.pitt.edu/centos/7/os/x86_64
lang en_US.UTF-8
keyboard us
network --bootproto static --ip=136.142.222.202 --netmask=255.255.255.224 --gateway=136.142.222.193 --nameserver=136.142.57.10,136.142.188.73,136.142.188.76
rootpw  --iscrypted $6$7sdFE9Ue/kviudcW$Kk6WJ/sq8CBYJCUO/eVCwFDVB.Jfw00Huy3hAzW2byfdh9U32jrTgMvFVXFJaYSt9fFhctdII2ak33s6WOFva/
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512 --enablekrb5 --krb5realm=UNIV.PITT.EDU --krb5kdc=univ.pitt.edu --krb5adminserver=pitt-proddc-01.cssd.pitt.edu
selinux --disabled
timezone America/New_York --isUtc
bootloader --location=mbr --append="crashkernel=auto rhgb quiet"
# 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 --initlabel --drives=sda

autopart --type=lvm

repo --name="CentOS"  --baseurl=http://mirror.cs.pitt.edu/centos/7/os/x86_64/ --cost=100
repo --name="CentOS 7 - x86_64 - Updates" --baseurl=http://mirror.cs.pitt.edu/centos/7/updates/x86_64/
#repo --name="Extra Packages for Enterprise Linux 7 - x86_64" --baseurl=http://mirror.cs.pitt.edu/epel/7/x86_64/


%packages
@additional-devel
@base
@compat-libraries
@console-internet
@core
@debugging
@desktop-debugging
@development
@directory-client
@emacs
@fonts
@gnome-desktop
@graphical-admin-tools
@graphics
@hardware-monitoring
@input-methods
@internet-applications
@internet-browser
@java-platform
@kde-desktop
@large-systems
@legacy-unix
@legacy-x
@mariadb-client
@network-file-system-client
@network-tools
@office-suite
@performance
@perl-runtime
@php
@platform-devel
@postgresql-client
@print-client
@remote-desktop-clients
@remote-system-management
@scientific
@system-admin-tools
@technical-writing
@virtualization-client
@virtualization-hypervisor
@virtualization-platform
@x11
ElectricFence
ImageMagick
ImageMagick-c++
ImageMagick-doc
a2ps
abrt-gui
ant
apr-util-mysql
apr-util-pgsql
apr-util-sqlite
asciidoc
atlas
autoconf213
autotrace
avahi-compat-howl
avahi-compat-libdns_sd
avahi-dnsconfd
avahi-gobject
avahi-qt3
avahi-qt4
avahi-ui
avahi-ui-tools
babl
bind-libs
boost-doc
boost-graph-openmpi
boost-math
boost-openmpi
boost-openmpi-python
boost-static
c-ares
cairomm
celt051
certmonger
cmake
cmake-gui
compat-gcc-44
compat-gcc-44-c++
compat-gcc-44-gfortran
conman
ctags-etags
cups-lpd
cvsps
dejagnu
dos2unix
dump
ebtables
emacs-auctex
emacs-git
emacs-git-el
emacs-gnuplot
emacs-gnuplot-el
emacs-mercurial
emacs-mercurial-el
emacs-nox
expect
expectk
festival-lib
fetchmail
finger
fipscheck-lib
flex-devel
fontforge
fontpackages-tools
freeglut
ftp
gcc-objc
gcc-objc++
gegl
genisoimage
gimp-libs
git-all
git-cvs
git-email
git-gui
git-svn
gitk
glade3
glibc-utils
glibmm24
gperf
groff-perl
groff-x11
gsl
gsl-devel
gssdp
gstreamer-plugins-base-devel
gtkhtml3
gtkmm24
gtksourceview3
gtkspell
gupnp
gupnp-igd
hesiod
html2ps
hyphen-en
imake
k3b-libs
kdelibs-apidocs
kdemultimedia-devel
kdepim-libs
kdeplasma-addons-libs
kdesdk
ksh
lftp
libXfont
libXxf86dga
libbonobo-devel
libburn
libconfig
libdmx
libdvdread
libedit
libexttextcat
libfontenc
libfprint
libglade2-devel
libgnomeui-devel
libgtop2
libimobiledevice
libisofs
libmsn
libmusicbrainz
libnice
libopenraw-gnome
libotf
libpaper
libplist
libpurple
libsigc++20
libspiro
libss
libstdc++-docs
libtar
libuninameslist
libusb-devel
libvirt-java
libvncserver
libwmf
libwpd
lm_sensors
logwatch
lpsolve
lzo
meanwhile
mercurial
mod_dav_svn
mpfr
mpich
mtools
mutt
nasm
net-snmp-perl
net-snmp-python
netpbm-progs
nmap
nscd
nss-pam-ldapd
nss_compat_ossl
numpy
oddjob
opal
openchange
opencv
openmpi
openobex
libreoffice-headless
libreoffice-ogltrans
libreoffice-wiki-publisher
pam_krb5
pangomm
papi
paps-libs
pax
perl-Bit-Vector
perl-Carp-Clan
perl-Class-Singleton
perl-DBD-MySQL
perl-DBD-SQLite
perl-Date-Calc
perl-Date-Manip
perl-DateTime
perl-DateTime-Format-DateParse
perl-Font-TTF
perl-GD
perl-IO-stringy
perl-List-MoreUtils
perl-Net-DNS
perl-Net-SMTP-SSL
perl-Params-Validate
perl-TermReadKey
perltidy
php-mysql
php-pgsql
poppler-devel
poppler-qt
poppler-qt-devel
postgresql-jdbc
psutils-perl
ptlib
python-docs
qemu-img
qt-doc
rpmdevtools
rpmlint
screen
setroubleshoot
sgpio
sox
squashfs-tools
subversion-perl
system-config-kickstart
systemtap-sdt-devel
systemtap-server
t1lib
#epel taskjuggler
#epel taskjuggler-libs
tcp_wrappers
telnet
texinfo-tex
texlive-kpathsea-bin
tftp
thunderbird
tigervnc
tigervnc-server
#epel tofrodos
tokyocabinet
#epel unique
#epel unique-devel
unixODBC-devel
vim-X11
wireshark
wodim
#epel xfig
#epel xfig-common
xorg-x11-fonts-75dpi
xorg-x11-fonts-ISO8859-1-75dpi
xorg-x11-fonts-ISO8859-14-100dpi
xorg-x11-fonts-ISO8859-14-75dpi
xorg-x11-fonts-ISO8859-15-75dpi
xorg-x11-fonts-ISO8859-2-100dpi
xorg-x11-fonts-ISO8859-2-75dpi
xorg-x11-fonts-ISO8859-9-100dpi
xorg-x11-fonts-ISO8859-9-75dpi
xorg-x11-fonts-cyrillic
xorg-x11-fonts-ethiopic
ypbind
yum-plugin-fastestmirror
zsh
-initial-setup
-initial-setup-gui
-gnome-initial-setup
%end
%pre
DISKS="/dev/sda"
for DISK in ${DISKS}; do
    parted -s ${DISK} print 2>&1 |grep "unrecognised disk label" > /dev/null
    if [ $? -eq 0 ]; then
        parted -s ${DISK} mklabel msdos
    fi
done
%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end
