This commit is contained in:
bogale 2026-10-29 00:37:18 +09:00
commit adcb608988
9 changed files with 30 additions and 10 deletions

View file

@ -36,12 +36,12 @@
Unattended-Upgrade::Remove-Unused-Dependencies "true";
EOF
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y unattended-upgrades
cat <<' EOF' > 20auto-upgrades
APT::Periodic::Unattended-Upgrade "1";
APT::Periodic::Update-Package-Lists "1";
EOF
apt-get update
apt-get dist-upgrade -y;;
1)
cat <<' EOF' >> /etc/sysctl.conf