Launch WeaveDNS with --debug when DEBUG is set

This commit is contained in:
Alvaro Saurin committed 2015-06-16 14:58:53 +02:00
1 parent 9a99a51e14
commit 8621aa7cbf
11 files changed
+17 -11

No files matched your search

+4 -1
View File
@@ -2,9 +2,12 @@
. ./config.sh
DNS_ARGS="--no-cache"
[ -n "$DEBUG" ] && DNS_ARGS="--debug"
start_suite "Resolve a non-weave address"
weave_on $HOST1 launch-dns 10.2.254.1/24 --no-cache
weave_on $HOST1 launch-dns 10.2.254.1/24 $WEAVEDNS_ARGS
start_container_with_dns $HOST1 10.2.1.5/24 --name=c1