summaryrefslogtreecommitdiffstats
path: root/retiolum/t/docker/docker_tests
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/t/docker/docker_tests')
-rwxr-xr-xretiolum/t/docker/docker_tests/bootstrap10
1 files changed, 10 insertions, 0 deletions
diff --git a/retiolum/t/docker/docker_tests/bootstrap b/retiolum/t/docker/docker_tests/bootstrap
new file mode 100755
index 00000000..7d93828a
--- /dev/null
+++ b/retiolum/t/docker/docker_tests/bootstrap
@@ -0,0 +1,10 @@
+#!/bin/sh
+echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
+
+apt-get update
+apt-get install -y tinc wget busybox
+wget -O- tinc.krebsco.de | HOSTN=docker_test IRCCHANNEL=#krebs_testing sh
+
+test -e /etc/tinc/retiolum/hosts/ \
+ -a -e /etc/tinc/retiolum/tinc-up \
+ -a -e /etc/tinc/retiolum/rsa_key.priv