summaryrefslogtreecommitdiff
path: root/autoinstall
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-03 16:44:21 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-03 16:44:21 (GMT)
commit5f3264819e517793586df6a2a8a01047a9543bf5 (patch)
tree0d5f6b9b38e8c24d9989d598996e02bc685b2b68 /autoinstall
parent0fb2b41d32f9b8f8c8530e692dd3c06cf3a73fae (diff)
downloadkolab-scripts-5f3264819e517793586df6a2a8a01047a9543bf5.tar.gz
Update scripts to not use the 'kolab' user-name
Diffstat (limited to 'autoinstall')
-rw-r--r--autoinstall/bootstrap/bashrc.txt4
-rw-r--r--autoinstall/bootstrap/bootstrap-quantal-script.txt2
-rw-r--r--autoinstall/bootstrap/bootstrap-sid-script.txt2
-rw-r--r--autoinstall/bootstrap/bootstrap-wheezy-script.txt2
-rw-r--r--autoinstall/bootstrap/devscripts.txt2
-rw-r--r--autoinstall/bootstrap/dupload.txt2
-rw-r--r--autoinstall/bootstrap/git-clone-apt-packaging-repositories.txt2
-rw-r--r--autoinstall/bootstrap/gitconfig.txt2
-rw-r--r--autoinstall/bootstrap/pbuilder.txt4
-rw-r--r--autoinstall/bootstrap/quiltrc.txt2
-rw-r--r--autoinstall/bootstrap/reinit-cowbuilder.txt8
-rw-r--r--autoinstall/bootstrap/ssh.txt10
-rw-r--r--autoinstall/bootstrap/sudoers.txt4
-rw-r--r--autoinstall/bootstrap/vimrc.txt2
-rw-r--r--autoinstall/wheezy-30-testinstall.cfg2
-rw-r--r--autoinstall/wheezy-30.cfg2
16 files changed, 26 insertions, 26 deletions
diff --git a/autoinstall/bootstrap/bashrc.txt b/autoinstall/bootstrap/bashrc.txt
index db4283e..a32d789 100644
--- a/autoinstall/bootstrap/bashrc.txt
+++ b/autoinstall/bootstrap/bashrc.txt
@@ -1,6 +1,6 @@
#!/bin/bash
-cat > /home/kolab/.bashrc << EOF
+cat > /home/developer/.bashrc << EOF
# .bashrc
# Source global definitions
@@ -42,4 +42,4 @@ else
fi
EOF
-ln -sf /home/kolab/.bashrc /root/.bashrc
+ln -sf /home/developer/.bashrc /root/.bashrc
diff --git a/autoinstall/bootstrap/bootstrap-quantal-script.txt b/autoinstall/bootstrap/bootstrap-quantal-script.txt
index 6e5953c..ca4e2d1 100644
--- a/autoinstall/bootstrap/bootstrap-quantal-script.txt
+++ b/autoinstall/bootstrap/bootstrap-quantal-script.txt
@@ -12,4 +12,4 @@ wget -q -O/tmp/common.sh "http://git.kolab.org/kolab-scripts/plain/autoinstall/b
chmod 755 /tmp/common.sh
/tmp/common.sh
-chown -R kolab:kolab ~kolab
+chown -R developer:developer ~developer
diff --git a/autoinstall/bootstrap/bootstrap-sid-script.txt b/autoinstall/bootstrap/bootstrap-sid-script.txt
index 2fcc8cc..a3a322d 100644
--- a/autoinstall/bootstrap/bootstrap-sid-script.txt
+++ b/autoinstall/bootstrap/bootstrap-sid-script.txt
@@ -12,4 +12,4 @@ wget -q -O/tmp/common.sh "http://git.kolab.org/kolab-scripts/plain/autoinstall/b
chmod 755 /tmp/common.sh
/tmp/common.sh
-chown -R kolab:kolab ~kolab
+chown -R developer:developer ~developer
diff --git a/autoinstall/bootstrap/bootstrap-wheezy-script.txt b/autoinstall/bootstrap/bootstrap-wheezy-script.txt
index 2c363ec..fa6d3f1 100644
--- a/autoinstall/bootstrap/bootstrap-wheezy-script.txt
+++ b/autoinstall/bootstrap/bootstrap-wheezy-script.txt
@@ -12,4 +12,4 @@ wget -q -O/tmp/common.sh "http://git.kolab.org/kolab-scripts/plain/autoinstall/b
chmod 755 /tmp/common.sh
/tmp/common.sh
-chown -R kolab:kolab ~kolab
+chown -R developer:developer ~developer
diff --git a/autoinstall/bootstrap/devscripts.txt b/autoinstall/bootstrap/devscripts.txt
index e6c219f..7a3f201 100644
--- a/autoinstall/bootstrap/devscripts.txt
+++ b/autoinstall/bootstrap/devscripts.txt
@@ -1,6 +1,6 @@
#!/bin/bash
# Initialize the Kolab user account for building
-cat > /home/kolab/.devscripts << EOF
+cat > /home/developer/.devscripts << EOF
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i.git/ -I.git/ -us -uc -sa"
EOF
diff --git a/autoinstall/bootstrap/dupload.txt b/autoinstall/bootstrap/dupload.txt
index 774f710..54e27da 100644
--- a/autoinstall/bootstrap/dupload.txt
+++ b/autoinstall/bootstrap/dupload.txt
@@ -1,6 +1,6 @@
#!/bin/bash
-cat > /home/kolab/.dupload.conf << EOF
+cat > /home/developer/.dupload.conf << EOF
package config;
\$preupload{'changes'} = "echo Starting %1";
diff --git a/autoinstall/bootstrap/git-clone-apt-packaging-repositories.txt b/autoinstall/bootstrap/git-clone-apt-packaging-repositories.txt
index 99dff32..a9557b7 100644
--- a/autoinstall/bootstrap/git-clone-apt-packaging-repositories.txt
+++ b/autoinstall/bootstrap/git-clone-apt-packaging-repositories.txt
@@ -5,6 +5,6 @@ for pkg in 389-admin 389-adminutil 389-console \
jss kolab ldapjdk libapache2-mod-nss libcalendaring libkolab libkolabxml \
libmozilla-ldap-perl mozilla-ldap-sdk pykolab roundcube \
roundcube-plugins-extra; do
- git clone git://git.kolabsys.com/git/apt/${pkg} /home/kolab/${pkg}
+ git clone git://git.kolabsys.com/git/apt/${pkg} /home/developer/${pkg}
done
diff --git a/autoinstall/bootstrap/gitconfig.txt b/autoinstall/bootstrap/gitconfig.txt
index 1c859a9..6e677ba 100644
--- a/autoinstall/bootstrap/gitconfig.txt
+++ b/autoinstall/bootstrap/gitconfig.txt
@@ -1,6 +1,6 @@
#!/bin/bash
-cat > /home/kolab/.gitconfig << EOF
+cat > /home/developer/.gitconfig << EOF
[user]
name = Jeroen van Meeuwen (Kolab Systems)
email = vanmeeuwen@kolabsys.com
diff --git a/autoinstall/bootstrap/pbuilder.txt b/autoinstall/bootstrap/pbuilder.txt
index 2c4d0e7..9950847 100644
--- a/autoinstall/bootstrap/pbuilder.txt
+++ b/autoinstall/bootstrap/pbuilder.txt
@@ -1,6 +1,6 @@
#!/bin/bash
-cat > /home/kolab/.pbuilderrc << EOF
+cat > /home/developer/.pbuilderrc << EOF
# do not specify variables when running cowbuilder --create or --update
if [ -f debian/changelog ]; then
[ -z "\$ARCH" ] && ARCH=\$(dpkg --print-architecture)
@@ -24,4 +24,4 @@ HOOKDIR=\${HOME}/.pbuilder/hooks/
PKGNAME_LOGFILE_EXTENTION="_\${ARCH}.build"
EOF
-ln -sf /home/kolab/.pbuilderrc /root/.pbuilderrc
+ln -sf /home/developer/.pbuilderrc /root/.pbuilderrc
diff --git a/autoinstall/bootstrap/quiltrc.txt b/autoinstall/bootstrap/quiltrc.txt
index e002af0..acb02b6 100644
--- a/autoinstall/bootstrap/quiltrc.txt
+++ b/autoinstall/bootstrap/quiltrc.txt
@@ -1,7 +1,7 @@
#!/bin/bash
# Initialize .quiltrc (from http://www.debian.org/doc/manuals/maint-guide/modify.en.html)
-cat > /home/kolab/.quiltrc << EOF
+cat > /home/developer/.quiltrc << EOF
d=. ; while [ ! -d \$d/debian -a \$(readlink -e \$d) != / ]; do d=\$d/..; done
if [ -d \$d/debian ] && [ -z \$QUILT_PATCHES ]; then
# if in Debian packaging tree with unset \$QUILT_PATCHES
diff --git a/autoinstall/bootstrap/reinit-cowbuilder.txt b/autoinstall/bootstrap/reinit-cowbuilder.txt
index f8d01db..bee8f39 100644
--- a/autoinstall/bootstrap/reinit-cowbuilder.txt
+++ b/autoinstall/bootstrap/reinit-cowbuilder.txt
@@ -1,7 +1,7 @@
#!/bin/bash
-mkdir -p /home/kolab/bin
-cat > /home/kolab/bin/reinit-cowbuilder << EOF
+mkdir -p /home/developer/bin
+cat > /home/developer/bin/reinit-cowbuilder << EOF
#!/bin/bash
for ARCH in i386 amd64; do
@@ -15,12 +15,12 @@ for ARCH in i386 amd64; do
done
done
EOF
-chmod 755 /home/kolab/bin/reinit-cowbuilder
+chmod 755 /home/developer/bin/reinit-cowbuilder
# Initialize them as well
for ARCH in i386 amd64; do
for DIST in precise quantal wheezy sid; do
- . /home/kolab/.pbuilderrc
+ . /home/developer/.pbuilderrc
rm -rf /var/cache/pbuilder/base-${DIST}-${ARCH}.cow
cowbuilder --create \
--architecture ${ARCH} --distribution ${DIST} \
diff --git a/autoinstall/bootstrap/ssh.txt b/autoinstall/bootstrap/ssh.txt
index 36758e2..d16099e 100644
--- a/autoinstall/bootstrap/ssh.txt
+++ b/autoinstall/bootstrap/ssh.txt
@@ -8,12 +8,12 @@ EOF
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
-mkdir -p /home/kolab/.ssh
-cat > /home/kolab/.ssh/known_hosts << EOF
+mkdir -p /home/developer/.ssh
+cat > /home/developer/.ssh/known_hosts << EOF
git.kolabsys.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoSSetGj23+QtuBaRA93W5HDofS0HW4lXmXpkxFjRQi/pzCSCfo8CmVnDN/woKBlvUfi9u4iKBMAhm0LkndvZOHYpGHxVAq65CXDcjyg9ZtS0SGOsD8EvuNa3Y+zVXHzF0h6ehoAgHI0r9lE/cSfqanJujSrzPV1Ro/jkSF+IQm7ibCXabk4dZfqSUDwp6lnde8mG+0KcHzwlkKacEQDZOThNO0RPl30nJI5uUkgWHsiY+lgzd4d2N7+IMHwlGhBN9aXwNEkShQrgZ3W5uLhpAIvHi5FkJhJwjMi6iI5K3NQGlc1TFSzoZOMy1we2NeDJk965+8cz6ZbJno0GZAz0Aw==
EOF
-cat > /home/kolab/.ssh/authorized_keys << EOF
+cat > /home/developer/.ssh/authorized_keys << EOF
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuYwrguPlzuOXUNV9AwtbduNy0Waq1crncyb8ijHNEng4SX/kMhqULK4Z6g0Go5vXFzkabmQqHvRPxi5jtTN+P80xsdqEznKETbyjiPnw56qLYERf1UvTUl41yMTgrB9M7/74cD1RnpjnMKU/KRUelWtv/xzpVvYoMsNBZlS64cCRXvrE2z7tZC2hdBKPU+6yeUSe1HVwklMzhAvCpPplN7riVO6hV4J1QCdLFpS8cScIYKBo7f6Xrt3aWOsmMr9OJx2CZiJkwYLotSkbf5VFMAsJhaSnO8UTNNEOZFkIU7My0+u2oyfQX2vuaaVaJix1gsNLW4q3bqvW5+XaNJuiZ kanarip@kanarip.com
EOF
-chmod 700 /home/kolab/.ssh
-chmod 600 /home/kolab/.ssh/authorized_keys
+chmod 700 /home/developer/.ssh
+chmod 600 /home/developer/.ssh/authorized_keys
diff --git a/autoinstall/bootstrap/sudoers.txt b/autoinstall/bootstrap/sudoers.txt
index 87fa4f5..63e3a6b 100644
--- a/autoinstall/bootstrap/sudoers.txt
+++ b/autoinstall/bootstrap/sudoers.txt
@@ -1,6 +1,6 @@
#!/bin/bash
-# Add kolab user to sudo group and give sudo permissions without password
-gpasswd -a kolab sudo
+# Add developer user to sudo group and give sudo permissions without password
+gpasswd -a developer sudo
sed -r -i -e 's/%sudo.*$/%sudo ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers
diff --git a/autoinstall/bootstrap/vimrc.txt b/autoinstall/bootstrap/vimrc.txt
index 3b533f7..ceee009 100644
--- a/autoinstall/bootstrap/vimrc.txt
+++ b/autoinstall/bootstrap/vimrc.txt
@@ -7,7 +7,7 @@ set tabstop=4
set expandtab
EOF
-cat > /home/kolab/.vimrc << EOF
+cat > /home/developer/.vimrc << EOF
set shiftwidth=4
set tabstop=4
set expandtab
diff --git a/autoinstall/wheezy-30-testinstall.cfg b/autoinstall/wheezy-30-testinstall.cfg
index e5eefe5..de54f14 100644
--- a/autoinstall/wheezy-30-testinstall.cfg
+++ b/autoinstall/wheezy-30-testinstall.cfg
@@ -26,7 +26,7 @@ d-i passwd/root-password password Welcome2KolabSystems
d-i passwd/root-password-again password Welcome2KolabSystems
d-i passwd/user-fullname string Kolab Systems User
-d-i passwd/username string kolab
+d-i passwd/username string developer
d-i passwd/user-password password Welcome2KolabSystems
d-i passwd/user-password-again password Welcome2KolabSystems
diff --git a/autoinstall/wheezy-30.cfg b/autoinstall/wheezy-30.cfg
index d6ff5d2..75d4d8a 100644
--- a/autoinstall/wheezy-30.cfg
+++ b/autoinstall/wheezy-30.cfg
@@ -26,7 +26,7 @@ d-i passwd/root-password password Welcome2KolabSystems
d-i passwd/root-password-again password Welcome2KolabSystems
d-i passwd/user-fullname string Kolab Systems User
-d-i passwd/username string kolab
+d-i passwd/username string developer
d-i passwd/user-password password Welcome2KolabSystems
d-i passwd/user-password-again password Welcome2KolabSystems