Skip to content

Commit

Permalink
feat: Print DNS servers
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jan 30, 2024
1 parent 933c336 commit afc44fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ getInfo
html "Initializing network..."

if [[ "$DEBUG" == [Yy1]* ]]; then
info "Host: $HOST IP: $IP Gateway: $GATEWAY Interface: $VM_NET_DEV MAC: $VM_NET_MAC" && echo
info "Host: $HOST IP: $IP Gateway: $GATEWAY Interface: $VM_NET_DEV MAC: $VM_NET_MAC"
[ -f /etc/resolv.conf ] && cat /etc/resolv.conf
echo
fi

if [[ "$DHCP" == [Yy1]* ]]; then
Expand Down

0 comments on commit afc44fe

Please sign in to comment.