From 7339c7f0f349502f2bfe4dd8d940e7efac732fa3 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 31 Jan 2024 03:43:50 +0100 Subject: [PATCH] feat: Filter nameservers --- src/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network.sh b/src/network.sh index 9c032009..55a7652a 100644 --- a/src/network.sh +++ b/src/network.sh @@ -271,7 +271,7 @@ html "Initializing network..." if [[ "$DEBUG" == [Yy1]* ]]; then info "Host: $HOST IP: $IP Gateway: $GATEWAY Interface: $VM_NET_DEV MAC: $VM_NET_MAC" - [ -f /etc/resolv.conf ] && cat /etc/resolv.conf | grep '^nameserver*' + [ -f /etc/resolv.conf ] && grep '^nameserver*' /etc/resolv.conf echo fi