Remove 'weave run', 'start' and 'restart'
Replace with informative message. Also fix up tests which were calling these commands.
This commit is contained in:
1 parent
19a31a5b82
commit
98e6571059
11 files changed
+72
-193
No files matched your search
@@ -12,7 +12,8 @@ check_dns() {
|
||||
chk=$1
|
||||
shift
|
||||
|
||||
container=$(weave_on $HOST1 run $@ $IP/24 -t --add-host=$STATIC:$STATIC_IP $DNS_IMAGE /bin/sh)
|
||||
container=$(docker_on $HOST1 run $(dns_args $HOST1 "$@") -dt $DNS_IMAGE /bin/sh)
|
||||
weave_on $HOST1 attach $IP/24 "$@" --rewrite-hosts --add-host=$STATIC:$STATIC_IP $container
|
||||
$chk $HOST1 $container $TARGET
|
||||
assert_dns_record $HOST1 $container $STATIC $STATIC_IP
|
||||
rm_containers $HOST1 $container
|
||||
|
||||
Reference in new issue
Block a user