Unverified Commit 46867564 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Print DNS servers (#406)

parent 933c3360
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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