disable apt news

This commit is contained in:
Matthew Saunders Brown 2022-11-17 13:17:25 -08:00
parent 50af479876
commit 2ec70a31d2

View File

@ -52,6 +52,8 @@ systemctl daemon-reload
# disable motd # disable motd
sed -i 's|ENABLED=1|ENABLED=0|g' /etc/default/motd-news sed -i 's|ENABLED=1|ENABLED=0|g' /etc/default/motd-news
chmod 644 /etc/update-motd.d/10-help-text chmod 644 /etc/update-motd.d/10-help-text
# disable apt news
/usr/bin/pro config set apt_news=false
# configure unattended upgrades with automatic reboots # configure unattended upgrades with automatic reboots
DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades