disable apt news
This commit is contained in:
parent
50af479876
commit
2ec70a31d2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user