Girish Ramakrishnan
2024-01-31 17:24:29 +01:00
parent 479946173f
commit ce4bf7e10c
2 changed files with 11 additions and 0 deletions

View File

@@ -25,6 +25,12 @@ apt-get -o Dpkg::Options::="--force-confdef" update -y
apt-get -o Dpkg::Options::="--force-confdef" upgrade -y
apt-mark unhold grub* >/dev/null
# workaround netcup setting immutable bit. can be removed in 8.0
if lsattr -l /etc/resolv.conf 2>/dev/null | grep -q Immutable; then
echo "==> Fixing up /etc/resolv.conf"
chattr -i /etc/resolv.conf
fi
echo "==> Installing required packages"
debconf-set-selections <<< 'mysql-server mysql-server/root_password password password'