netcup: dns fixes

This commit is contained in:
Girish Ramakrishnan
2024-05-04 17:36:26 +02:00
parent 1728756dc4
commit 6681f2e5c8
3 changed files with 27 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ printf "**********************************************************************\n
EOF
chmod +x /etc/update-motd.d/91-cloudron-install-in-progress
# workaround netcup setting immutable bit. can be removed in 8.0
# workaround netcup setting immutable bit. required for installation pre 8.0
if lsattr -l /etc/resolv.conf 2>/dev/null | grep -q Immutable; then
chattr -i /etc/resolv.conf
fi