--- /dev/null
+#!/bin/bash
+
+# copyright 2013 Holger Levsen <holger@layer-acht.org>
+# GPL2 licenced
+
+set -e
+set -x
+export
+
+CORE_ROUTER=cr13
+GATEWAY=gw1301
+PSERVER=pserver1301
+
+#
+# prepare pserver
+#
+ssh -i ~/.ssh/id_ritest $PSERVER "sudo dmsetup remove_all"
+ssh -i ~/.ssh/id_ritest $PSERVER "sudo mkdir -p /mnt/local_hdd"
+ssh -i ~/.ssh/id_ritest $PSERVER "sudo mount /dev/sda1 -t ext3 /mnt/local_hdd"
+
+#
+# prepare core router
+#
+ssh -i ~/.ssh/id_ritest $CORE_ROUTER "sudo rm /opt/autotest -rf"
+ssh -i ~/.ssh/id_ritest $CORE_ROUTER "git clone git://git/ri/autotest.git /opt/autotest"
+ssh -i ~/.ssh/id_ritest $CORE_ROUTER "cd /opt/autotest ; git checkout develop"
+ssh -A -i ~/.ssh/id_ritest $CORE_ROUTER "cd /opt/autotest ; ./run-compile.sh --config config-jenkins.xml"
+
+