Merge pull request #2672 from weaveworks/issues/2669-iprange-clash

Check whether Weave's IP range overlaps something on the host already
This commit is contained in:
Adam Harrison authored and GitHub committed 2016-11-28 11:53:50 +00:00
commit 46e4f047de
1 file changed
+3
+3
View File
@@ -7,6 +7,9 @@ IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
STATUS_ADDR=${WEAVE_STATUS_ADDR:-0.0.0.0:6782}
# Check if the IP range overlaps anything existing on the host
/usr/bin/weaveutil netcheck $IPALLOC_RANGE weave
# Default for network policy
EXPECT_NPC=${EXPECT_NPC:-1}