summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-21 20:49:19 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-21 20:49:19 (GMT)
commit41a814548b3739c6660f86cbc8ad0beb58170ec4 (patch)
treef3f8a872b8bfb9d115d2f9a2e1964494a2888aa4
parent3989781045ceabc4d50c87739be91312016d2999 (diff)
downloadkolab-scripts-41a814548b3739c6660f86cbc8ad0beb58170ec4.tar.gz
Set more repositories to 3.3
-rw-r--r--autoinstall/bootstrap/bootstrap-wheezy-33-script.txt11
-rw-r--r--autoinstall/maipo-33.cfg53
2 files changed, 60 insertions, 4 deletions
diff --git a/autoinstall/bootstrap/bootstrap-wheezy-33-script.txt b/autoinstall/bootstrap/bootstrap-wheezy-33-script.txt
index 5bbde3f..7f589c5 100644
--- a/autoinstall/bootstrap/bootstrap-wheezy-33-script.txt
+++ b/autoinstall/bootstrap/bootstrap-wheezy-33-script.txt
@@ -2,11 +2,16 @@
# Add the kolab repository.
cat > /etc/apt/sources.list.d/kolab.list << EOF
-deb http://obs.kolabsys.com/repositories/Kolab:/Development/Debian_7.0/ ./
+deb http://obs.kolabsys.com/repositories/Kolab:/3.3/Debian_7.0/ ./
+deb http://obs.kolabsys.com/repositories/Kolab:/3.3:/Updates/Debian_7.0/ ./
EOF
-wget http://obs.kolabsys.com/repositories/Kolab:/Development/Debian_7.0/Release.key
-apt-key add Release.key
+wget http://obs.kolabsys.com/repositories/Kolab:/3.3/Debian_7.0/Release.key
+apt-key add Release.key || :
+rm -rf Release.key
+
+wget http://obs.kolabsys.com/repositories/Kolab:/3.3:/Updates/Debian_7.0/Release.key
+apt-key add Release.key || :
rm -rf Release.key
apt-get update || :
diff --git a/autoinstall/maipo-33.cfg b/autoinstall/maipo-33.cfg
index c57b44a..4012c71 100644
--- a/autoinstall/maipo-33.cfg
+++ b/autoinstall/maipo-33.cfg
@@ -18,10 +18,11 @@ network --hostname=kolab.example.org
reboot
-repo --name=kolab-33 --baseurl=http://obs.kolabsys.com/repositories/Kolab:/Development/RHEL_7/
repo --name=release --baseurl=http://mirror.kolabsys.com/distr/centos/7/os/x86_64/
repo --name=updates --baseurl=http://mirror.kolabsys.com/distr/centos/7/updates/x86_64/
repo --name=epel --baseurl=http://mirror.kolabsys.com/repos/epel/7/x86_64/
+repo --name=kolab-3.3 --baseurl=http://obs.kolabsys.com/repositories/Kolab:/3.3/CentOS_7/
+repo --name=kolab-3.3-updates --baseurl=http://obs.kolabsys.com/repositories/Kolab:/3.3:/Updates/CentOS_7/
%packages
NetworkManager
@@ -90,6 +91,56 @@ cat >/root/.ssh/authorized_keys <<EOF
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuYwrguPlzuOXUNV9AwtbduNy0Waq1crncyb8ijHNEng4SX/kMhqULK4Z6g0Go5vXFzkabmQqHvRPxi5jtTN+P80xsdqEznKETbyjiPnw56qLYERf1UvTUl41yMTgrB9M7/74cD1RnpjnMKU/KRUelWtv/xzpVvYoMsNBZlS64cCRXvrE2z7tZC2hdBKPU+6yeUSe1HVwklMzhAvCpPplN7riVO6hV4J1QCdLFpS8cScIYKBo7f6Xrt3aWOsmMr9OJx2CZiJkwYLotSkbf5VFMAsJhaSnO8UTNNEOZFkIU7My0+u2oyfQX2vuaaVaJix1gsNLW4q3bqvW5+XaNJuiZ kanarip@kanarip.com
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAt5GYn9W37F/Nnub2s9IbGNyycbpmY4Dy/NnWoo1JkCenGD1677WKglbEPGeCG9EEWy9SuJXIFJNv1GCqoBrdH2fqklCeIT1cQfEM369z4PDrKKZ+wTbgx/KRSmGctV9F6H9D8avqc8NBTZdBzl8MI3vfFqqKHbAHqI57wowDOYxLiAJX85O8g58Oc5FLi8cqetKb/yVyJTHHya79fcAYpW8latZYRpdEbl6eoIhxSTvn29qzdsFoET3D/aRSk06dVGlD26dXWxlDxI/NYeKU4bmcWTauFZCPlQzVyGTlaFe/FtRyjYZaJH7sXfErHazXkDDNBXfUcva/rzpyuXwv wickert@kolabsys.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 Kolab repositories
+cat >>/etc/yum.repos.d/Kolab:3.3.repo<<EOF
+[Kolab_3.3]
+name=Kolab:3.3 (CentOS_7)
+type=rpm-md
+baseurl=http://obs.kolabsys.com/repositories//Kolab:/3.3/CentOS_7/
+gpgcheck=1
+priority=60
+gpgkey=http://obs.kolabsys.com/repositories//Kolab:/3.3/CentOS_7/repodata/repomd.xml.key
+enabled=1
+EOF
+
+cat >>/etc/yum.repos.d/Kolab:3.3:Updates.repo<<EOF
+[Kolab_3.3_Updates]
+name=Kolab:3.3 Updates (CentOS_7)
+type=rpm-md
+baseurl=http://obs.kolabsys.com/repositories//Kolab:/3.3:/Updates/CentOS_7/
+gpgcheck=1
+priority=60
+gpgkey=http://obs.kolabsys.com/repositories//Kolab:/3.3:/Updates/CentOS_7/repodata/repomd.xml.key
+enabled=1
+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