systemd_resolved_fix

This commit is contained in:
Milan Meduna 2019-08-10 17:36:04 +02:00
parent 1687ec1c30
commit 018ebf7563

View file

@ -94,6 +94,10 @@ echo " bridge_ports $NET_IF" >> /etc/network/interfaces
echo " bridge_stp off" >> /etc/network/interfaces echo " bridge_stp off" >> /etc/network/interfaces
echo " bridge_fd 0" >> /etc/network/interfaces echo " bridge_fd 0" >> /etc/network/interfaces
echo "Add DNS to systemd-resolved"
echo "[Resolve]" > /etc/systemd/resolved.conf
echo "DNS=8.8.8.8" >> /etc/systemd/resolved.conf
echo "FallbackDNS=1.1.1.1" >> /etc/systemd/resolved.conf
echo "Purging netplan,disabling dhcpcd and install ifupdown" echo "Purging netplan,disabling dhcpcd and install ifupdown"
apt purge nplan -y apt purge nplan -y