CNI plugin assigns an IP to the bridge by itself

No need to call `weave expose` before use.
This commit is contained in:
Bryan Boreham committed 2016-08-08 15:28:26 +01:00
1 parent 7ebf3d7a88
commit 081b95dfd0
3 files changed
+44 -19

No files matched your search

-1
View File
@@ -15,7 +15,6 @@ run_on $HOST1 sudo mkdir -p /opt/cni/bin
# setup-cni is a subset of 'weave setup', without doing any 'docker pull's
weave_on $HOST1 setup-cni
weave_on $HOST1 launch
weave_on $HOST1 expose
C1=$(docker_on $HOST1 run --net=none --name=c1 -dt $SMALL_IMAGE /bin/sh)
C2=$(docker_on $HOST1 run --net=none --name=c2 -dt $SMALL_IMAGE /bin/sh)