install docker-ns in test VMs
handy for debugging
This commit is contained in:
1 parent
73a8f32532
commit
d54cc53864
2 files changed
+4
-1
No files matched your search
@@ -45,3 +45,4 @@ end_suite() {
|
||||
}
|
||||
|
||||
WEAVE=./bin/weave
|
||||
DOCKER_NS=./bin/docker-ns
|
||||
+3
-1
@@ -12,7 +12,9 @@ for HOST in $HOST1 $HOST2; do
|
||||
docker_on $HOST load -i /var/tmp/weave.tar
|
||||
docker_on $HOST load -i /var/tmp/weavedns.tar
|
||||
run_on $HOST mkdir -p `dirname $WEAVE`
|
||||
cat ../weave | run_on $HOST sh -c "cat > $WEAVE"
|
||||
cat ../weave | run_on $HOST sh -c "cat > $WEAVE"
|
||||
cat ../bin/docker-ns | run_on $HOST sh -c "cat > $DOCKER_NS"
|
||||
run_on $HOST chmod a+x $WEAVE
|
||||
run_on $HOST chmod a+x $DOCKER_NS
|
||||
run_on $HOST sudo service docker restart
|
||||
done
|
||||
Reference in new issue
Block a user