systemd_resolved_fix
This commit is contained in:
parent
8ac9dbb94d
commit
6c5dd3a148
1 changed files with 4 additions and 0 deletions
|
@ -95,6 +95,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