summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-02-14 14:40:30 +0100
committervarac <varacanero@zeromail.org>2013-02-14 14:40:30 +0100
commitc782c2c8d7408690d614453fac41b5a620610fec (patch)
tree660f6fd98a228467f68b9712e5125349a4ae29fa /debug
parentff785c2540cea0cbd82d64b8b657c8fde3aacca6 (diff)
added debug/leap-bootstrap-ca.sh (see #1755)
Diffstat (limited to 'debug')
-rwxr-xr-xdebug/leap-bootstrap-ca.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/debug/leap-bootstrap-ca.sh b/debug/leap-bootstrap-ca.sh
new file mode 100755
index 0000000..6fd6232
--- /dev/null
+++ b/debug/leap-bootstrap-ca.sh
@@ -0,0 +1,23 @@
+#!/bin/sh -x
+
+ROOT="/tmp/platform-testing"
+
+rm -rf $ROOT/example
+mkdir -p $ROOT/example
+cd $ROOT/example
+
+leap new .
+cd $ROOT/leap_platform
+git checkout develop
+git submodule update --init
+cd $ROOT/example
+
+leap add-user --self
+leap cert ca && leap cert csr
+
+leap node add --local ca service:ca
+
+leap local start ca
+leap node init ca
+
+leap ssh ca