Hide ifconfig

This commit is contained in:
Kroese 2023-05-07 13:40:40 +02:00 committed by GitHub
parent c16362cf36
commit 5b19904cd4

View File

@ -30,7 +30,7 @@ configureDHCP() {
if (( rc != 0 )); then
echo -n "INFO: Could not create macvlan, skipping..."
echo "INFO: Could not create macvlan, skipping..."
else
@ -214,8 +214,8 @@ if [[ "${DEBUG}" == [Yy1]* ]]; then
IP=$(ip address show dev "${VM_NET_DEV}" | grep inet | awk '/inet / { print $2 }' | cut -f1 -d/)
echo "INFO: Container IP is ${IP} with gateway ${GATEWAY}" && echo
ifconfig
ip route && echo
#ifconfig
#ip route && echo
fi