extract startup of simple container
There is now just one mention of the gliderlabs/alpine image outside config.sh.
This commit is contained in:
1 parent
ab244f76f6
commit
1c1bd817e1
13 files changed
+27
-25
No files matched your search
@@ -31,10 +31,10 @@ start_suite "exposing weave network to host with IPAM"
|
||||
|
||||
weave_on $HOST1 launch -iprange $R1
|
||||
|
||||
weave_on $HOST1 run -t --name=c1 gliderlabs/alpine /bin/sh
|
||||
weave_on $HOST1 run -t --name=c2 gliderlabs/alpine /bin/sh
|
||||
weave_on $HOST1 run $C3/24 -t --name=c3 gliderlabs/alpine /bin/sh
|
||||
weave_on $HOST1 run $C4/24 -t --name=c4 gliderlabs/alpine /bin/sh
|
||||
start_container $HOST1 --name=c1
|
||||
start_container $HOST1 --name=c2
|
||||
start_container $HOST1 $C3/24 --name=c3
|
||||
start_container $HOST1 $C4/24 --name=c4
|
||||
C1=$(container_ip $HOST1 c1)
|
||||
|
||||
# absence of host connectivity by default
|
||||
|
||||
Reference in new issue
Block a user