enable weave script debugging with WEAVE_DEBUG

Closes #618
This commit is contained in:
Matthias Radestock committed 2015-05-04 10:28:24 +01:00
1 parent 72e8b3dcc0
commit 56038674b1
1 file changed
+3
+3
View File
@@ -1,6 +1,8 @@
#!/bin/sh
set -e
[ -n "$WEAVE_DEBUG" ] && set -x
SCRIPT_VERSION="(unreleased version)"
if [ "$SCRIPT_VERSION" = "(unreleased version)" ] ; then
IMAGE_VERSION=latest
@@ -46,6 +48,7 @@ exec_remote() {
-v /proc:/hostproc \
-e PROCFS=/hostproc \
-e VERSION \
-e WEAVE_DEBUG \
-e WEAVE_DOCKER_ARGS \
-e WEAVEDNS_DOCKER_ARGS \
-e WEAVE_PASSWORD \