systemd_resolved_fix
This commit is contained in:
parent
1687ec1c30
commit
018ebf7563
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue