Fix cloudron installation on netcup
https://forum.cloudron.io/topic/10097/cloudron-install-error-dpkg-error/ https://twitter.com/netcup/status/1735265955364720757
This commit is contained in:
@@ -148,6 +148,11 @@ 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
|
||||
if lsattr -l /etc/resolv.conf 2>/dev/null | grep -q Immutable; then
|
||||
chattr -i /etc/resolv.conf
|
||||
fi
|
||||
|
||||
# Can only write after we have confirmed script has root access
|
||||
echo "Running cloudron-setup with args : $@" > "${LOG_FILE}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user