mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +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:
parent
2b00478b8b
commit
6ea1a06a12
@ -119,6 +119,12 @@ apt_install python3 python3-dev python3-pip \
|
|||||||
haveged pollinate \
|
haveged pollinate \
|
||||||
unattended-upgrades cron ntp fail2ban
|
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
|
# ### Set the system timezone
|
||||||
#
|
#
|
||||||
# Some systems are missing /etc/timezone, which we cat into the configs for
|
# Some systems are missing /etc/timezone, which we cat into the configs for
|
||||||
|
Loading…
Reference in New Issue
Block a user