[proxy] weavewait rewrites /etc/hosts so weave ip is returned first from 'hostname -i'
Adds a --no-rewrite-hosts flag to the proxy, and be default, removes the docker IP from hosts. We only discard the docker host when it exists, so --net=none works.
This commit is contained in:
1 parent
75646d4786
commit
e4458372e8
6 files changed
+121
-12
No files matched your search
@@ -36,7 +36,7 @@ weave launch-router [--password <password>] [--nickname <nickname>]
|
||||
[--no-discovery] [--init-peer-count <count>] <peer> ...
|
||||
weave launch-dns [<addr>]
|
||||
weave launch-proxy [-H <endpoint>] [--with-dns | --without-dns]
|
||||
[--no-default-ipalloc]
|
||||
[--no-default-ipalloc] [--no-rewrite-hosts]
|
||||
weave connect [--replace] [<peer> ...]
|
||||
weave forget <peer> ...
|
||||
weave run [--with-dns | --without-dns] [<addr> ...]
|
||||
|
||||
Reference in new issue
Block a user