summaryrefslogtreecommitdiff
path: root/leap-platform-test
diff options
context:
space:
mode:
Diffstat (limited to 'leap-platform-test')
-rwxr-xr-xleap-platform-test16
1 files changed, 16 insertions, 0 deletions
diff --git a/leap-platform-test b/leap-platform-test
index 83b7153..bee3748 100755
--- a/leap-platform-test
+++ b/leap-platform-test
@@ -21,6 +21,22 @@ COMMANDS
EOF
}
+add_nodes() {
+ for i in $@
+ do
+ case $i in
+ openvpn)
+ config='openvpn.gateway_address:10.5.5.99'
+ ;;
+ *)
+ config=''
+ ;;
+ esac
+
+ leap node add --local $i $config services:$i
+ done
+}
+
compile () {
leap $OPTS clean
leap $OPTS compile