We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca88eea commit f3ab888Copy full SHA for f3ab888
ext/standard/tests/dns/resolv-setup.sh
@@ -26,6 +26,18 @@ systemctl is-active systemd-networkd || echo "systemd-networkd disabled"
26
# Check what's managing your interface
27
networkctl status $IFACE
28
29
+# Check network configs
30
+echo "Checking 10-netplan-eth0.network"
31
+if [ -f /run/systemd/network/10-netplan-eth0.network ]; then
32
+ cat /run/systemd/network/10-netplan-eth0.network
33
+elif [ -d /run/systemd/network/ ]; then
34
+ echo "ls -la /run/systemd/network/"
35
+ ls -la /run/systemd/network/
36
+else
37
+ echo "ls -la /run/systemd/"
38
+ ls -la /run/systemd/
39
+fi
40
+
41
# Get current DNS server
42
echo "Current configuration:"
43
resolvectl status "$IFACE" | grep -E 'Current DNS Server:|DNS Servers:'
0 commit comments