mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
support.sh: add host links
also made the heading for host iptables state clearer Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
This commit is contained in:
parent
5f23795eef
commit
bef873c9df
1 changed files with 3 additions and 2 deletions
|
@ -49,13 +49,14 @@ else
|
||||||
NETINSPECT_VERBOSE_SUPPORT=""
|
NETINSPECT_VERBOSE_SUPPORT=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Host Configuration"
|
echo "Host iptables"
|
||||||
echo_and_run ${IPTABLES} -w1 -n -v -L -t filter | grep -v '^$'
|
echo_and_run ${IPTABLES} -w1 -n -v -L -t filter | grep -v '^$'
|
||||||
echo_and_run ${IPTABLES} -w1 -n -v -L -t nat | grep -v '^$'
|
echo_and_run ${IPTABLES} -w1 -n -v -L -t nat | grep -v '^$'
|
||||||
echo_and_run ${IPTABLES} -w1 -n -v -L -t mangle | grep -v '^$'
|
echo_and_run ${IPTABLES} -w1 -n -v -L -t mangle | grep -v '^$'
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
echo "Host addresses and routes"
|
echo "Host links addresses and routes"
|
||||||
|
echo_and_run ${IP} -o link show
|
||||||
echo_and_run ${IP} -o -4 address show
|
echo_and_run ${IP} -o -4 address show
|
||||||
echo_and_run ${IP} -4 route show
|
echo_and_run ${IP} -4 route show
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue