|
|
@ -2724,14 +2724,6 @@ fi |
|
|
|
_setup_state_dir |
|
|
|
mkdir -p "$CACHEDIR" || exit 1 |
|
|
|
|
|
|
|
DOCKER_HOST_NET=$(ip addr show docker0 | grep 'inet ' | xargs printf "%s " | cut -f 2 -d " ") || { |
|
|
|
die "Couldn't determine docker host net" |
|
|
|
} |
|
|
|
DOCKER_HOST_IP=$(echo "$DOCKER_HOST_NET" | cut -f 1 -d "/") || { |
|
|
|
die "Couldn't determine docker host ip" |
|
|
|
} |
|
|
|
export DOCKER_HOST_NET DOCKER_HOST_IP |
|
|
|
|
|
|
|
## |
|
|
|
## Argument parsing |
|
|
|
## |
|
|
|