Hide ifconfig

This commit is contained in:
Kroese 2023-05-07 13:42:38 +02:00 committed by GitHub
parent 7bcc39af24
commit 0c42dc96b7

View file

@ -30,7 +30,7 @@ configureDHCP() {
if (( rc != 0 )); then if (( rc != 0 )); then
echo -n "INFO: Could not create macvlan, skipping..." echo "INFO: Could not create macvlan, skipping..."
else 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/) 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 echo "INFO: Container IP is ${IP} with gateway ${GATEWAY}" && echo
ifconfig #ifconfig
ip route && echo #ip route && echo
fi fi