Update fetch_router_args in line with changes elsewhere
This commit is contained in:
1 parent
b8b5fb9eae
commit
284d78c6b2
1 file changed
+3
-3
@@ -1476,9 +1476,9 @@ launch_router() {
|
||||
|
||||
# Recreate the parameter values that are set when the router is first launched
|
||||
fetch_router_args() {
|
||||
IPRANGE=$(docker inspect -f '{{.Args}}' $CONTAINER_NAME | grep -o -e '-ipalloc-range [^ ]*')
|
||||
# This doesn't get back the right syntax, but it's enough for our purposes
|
||||
DNS_PORT_MAPPING=$(docker inspect -f '{{with index .HostConfig.PortBindings "53/udp"}}{{.}}{{end}}' $CONTAINER_NAME)
|
||||
CONTAINER_ARGS=$(docker inspect -f '{{.Args}}' $CONTAINER_NAME)
|
||||
IPRANGE=$(echo $CONTAINER_ARGS | grep -o -e '-ipalloc-range [^ ]*')
|
||||
NO_DNS_OPT=$(echo $CONTAINER_ARGS | grep -o -e '--no-dns')
|
||||
}
|
||||
|
||||
attach_router() {
|
||||
|
||||
Reference in new issue
Block a user