mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix: Resolve fighting with NM (#1660)
This commit is contained in:
@@ -92,6 +92,16 @@ ControlPort 9051
|
||||
CookieAuthentication 1
|
||||
EOF
|
||||
|
||||
cat << EOF > /etc/NetworkManager/NetworkManager.conf
|
||||
[main]
|
||||
plugins=ifupdown,keyfile
|
||||
dns=none
|
||||
rc-manager=unmanaged
|
||||
|
||||
[ifupdown]
|
||||
managed=false
|
||||
EOF
|
||||
|
||||
# enable embassyd dns server
|
||||
systemctl enable systemd-resolved
|
||||
sed -i '/\(^\|#\)DNS=/c\DNS=127.0.0.1' /etc/systemd/resolved.conf
|
||||
|
||||
Reference in New Issue
Block a user