1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

suppress Ubuntu's upgrade prompts (#992)

On every login we're notified:

  New release '16.04.1 LTS' available.
  Run 'do-release-upgrade' to upgrade to it.

Disable this so that an eager yet inattentive admin
doesn't accidentally follow these instructions.
This commit is contained in:
Scott Bronson 2016-11-08 18:41:02 -08:00 committed by Joshua Tauberer
parent 2b00478b8b
commit 6ea1a06a12

View File

@ -119,6 +119,12 @@ apt_install python3 python3-dev python3-pip \
haveged pollinate \
unattended-upgrades cron ntp fail2ban
# ### Suppress Upgrade Prompts
# Since Mail-in-a-Box might jump straight to 18.04 LTS, there's no need
# to be reminded about 16.04 on every login.
tools/editconf.py /etc/update-manager/release-upgrades Prompt=never
rm -f /var/lib/ubuntu-release-upgrader/release-upgrade-available
# ### Set the system timezone
#
# Some systems are missing /etc/timezone, which we cat into the configs for