summaryrefslogtreecommitdiff
path: root/autoinstall
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-03-01 13:50:37 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-03-01 13:50:37 (GMT)
commit3f3152f6eccab12e7d1604c224a7d23a7197ea58 (patch)
tree969554b624fa7600fcf26ded38fbea473a29ed06 /autoinstall
parent2c0bb528b70c009ba886a436edbb074a9b573a5e (diff)
downloadkolab-scripts-3f3152f6eccab12e7d1604c224a7d23a7197ea58.tar.gz
Add Kolab 3.1 kickstart
Diffstat (limited to 'autoinstall')
-rw-r--r--autoinstall/santiago-31.cfg143
1 files changed, 143 insertions, 0 deletions
diff --git a/autoinstall/santiago-31.cfg b/autoinstall/santiago-31.cfg
new file mode 100644
index 0000000..2d77f1d
--- /dev/null
+++ b/autoinstall/santiago-31.cfg
@@ -0,0 +1,143 @@
+lang en_US.UTF-8
+keyboard us
+timezone --utc Europe/Zurich
+text
+skipx
+auth --useshadow --enablemd5
+selinux --permissive
+firewall --enabled
+firstboot --disabled
+zerombr
+clearpart --all --initlabel
+autopart
+rootpw --plaintext Welcome2KolabSystems
+bootloader --location=mbr
+services --enabled=NetworkManager --disabled=network
+
+network --hostname=kolab.example.org
+
+reboot
+
+repo --name=epel --baseurl=http://ftp.nluug.nl/os/Linux/distr/fedora-epel/6/x86_64/
+repo --name=updates --baseurl=http://ftp.nluug.nl/pub/os/Linux/distr/CentOS/6/updates/x86_64/
+repo --name=kolab-3.1-release --baseurl=http://mirror.kolabsys.com/pub/redhat/kolab-3.1/el6/release/x86_64/
+repo --name=kolab-3.1-updates --baseurl=http://mirror.kolabsys.com/pub/redhat/kolab-3.1/el6/updates/x86_64/
+repo --name=kolab-3.1-development --baseurl=http://mirror.kolabsys.com/pub/redhat/kolab-3.1/el6/development/x86_64/
+
+%packages
+#%packages --ignoremissing
+kolab-3.1-community-release
+kolab-3.1-community-release-development
+epel-release
+NetworkManager
+kolab
+
+# Allow LDAP to be used with PAM
+nscd
+nss-pam-ldapd
+pam_ldap
+
+# For development purposes
+git
+vim-enhanced
+
+# Build requirements for pykolab
+automake
+autoconf
+gcc
+gettext
+glib2-devel
+intltool
+python
+python-icalendar
+python-kolabformat
+python-ldap
+python-nose
+
+# Build utilities
+@fedora-packager
+
+# Other build dependencies
+binutils-devel
+boost-devel
+cmake
+cyrus-sasl-devel
+e2fsprogs-devel
+gcc-c++
+js-devel
+libcalendaring-devel
+libcurl-devel
+libical-devel
+libkolabxml-devel
+llvm-devel
+php-devel
+python-devel
+qt-devel
+swig
+uuid-devel
+v8-devel
+xerces-c-devel
+xsd
+
+# Development tools
+php-pecl-xdebug
+%end
+
+%post
+# Set the default runlevel to 3
+# https://bugzilla.redhat.com/show_bug.cgi?id=440058
+sed -i -r -e 's/^id:[0-6]:initdefault:$/id:3:initdefault:/g' /etc/inittab
+
+# Insert SSH key
+mkdir -p /root/.ssh/
+cat >/root/.ssh/authorized_keys <<EOF
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuYwrguPlzuOXUNV9AwtbduNy0Waq1crncyb8ijHNEng4SX/kMhqULK4Z6g0Go5vXFzkabmQqHvRPxi5jtTN+P80xsdqEznKETbyjiPnw56qLYERf1UvTUl41yMTgrB9M7/74cD1RnpjnMKU/KRUelWtv/xzpVvYoMsNBZlS64cCRXvrE2z7tZC2hdBKPU+6yeUSe1HVwklMzhAvCpPplN7riVO6hV4J1QCdLFpS8cScIYKBo7f6Xrt3aWOsmMr9OJx2CZiJkwYLotSkbf5VFMAsJhaSnO8UTNNEOZFkIU7My0+u2oyfQX2vuaaVaJix1gsNLW4q3bqvW5+XaNJuiZ kanarip@kanarip.com
+EOF
+
+chmod 700 /root/.ssh
+chmod 600 /root/.ssh/authorized_keys
+
+# Set vimrc
+cat >>/etc/vimrc <<EOF
+
+set shiftwidth=4
+set tabstop=4
+set expandtab
+EOF
+
+# Add koji yum repositories
+cat >>/etc/yum.repos.d/kolab-3.1-koji.repo<<EOF
+[kolab-3.1-koji]
+name=Kolab 3.1 packages directly from Koji
+baseurl=http://koji.kolabsys.com/static-repos/feature-el6-kolab-3.1-build/latest/x86_64/
+enabled=0
+priority=50
+gpgcheck=0
+EOF
+cat >>/etc/yum.repos.d/kolab-3.1-koji-development.repo<<EOF
+[kolab-3.1-koji-development]
+name=Kolab 3.1 packages directly from Koji
+baseurl=http://koji.kolabsys.com/static-repos/feature-el6-kolab-3.1-development-build/latest/x86_64/
+enabled=0
+priority=50
+gpgcheck=0
+EOF
+
+# Set toprc
+cat >>/root/.toprc<<EOF
+RCfile for "top with windows" # shameless braggin
+Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=1.000, Curwin=0
+Def fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
+ winflags=62905, sortindx=10, maxtasks=0
+ summclr=1, msgsclr=1, headclr=3, taskclr=1
+Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
+ winflags=62777, sortindx=0, maxtasks=0
+ summclr=6, msgsclr=6, headclr=7, taskclr=6
+Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
+ winflags=62777, sortindx=13, maxtasks=0
+ summclr=5, msgsclr=5, headclr=4, taskclr=5
+Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX
+ winflags=62777, sortindx=4, maxtasks=0
+ summclr=3, msgsclr=3, headclr=2, taskclr=3
+EOF
+%end