Merge pull request #1780 from weaveworks/1748-no-with-dns

Remove WITH_DNS variable from weave script
This commit is contained in:
Adam Harrison committed 2015-12-16 15:59:24 +00:00
commit 7015ab8717
3 files changed
+3 -6

No files matched your search

+2 -4
View File
@@ -62,8 +62,7 @@ weave connect [--replace] [<peer> ...]
weave forget <peer> ...
weave status [targets | connections | peers | dns]
weave report [-f <format>]
weave run [--with-dns | --without-dns]
[--no-rewrite-hosts] [--no-multicast-route]
weave run [--without-dns] [--no-rewrite-hosts] [--no-multicast-route]
[<addr> ...] <docker run args> ...
weave start [<addr> ...] <container_id>
weave attach [<addr> ...] <container_id>
@@ -1094,12 +1093,11 @@ dns_args() {
NAME_ARG=""
HOSTNAME_SPECIFIED=
DNS_SEARCH_SPECIFIED=
WITH_DNS=
WITHOUT_DNS=
while [ $# -gt 0 ] ; do
case "$1" in
--with-dns)
WITH_DNS=1
echo "Warning: $1 is deprecated; it is on by default" >&2
;;
--without-dns)
WITHOUT_DNS=1