Closed divergentdave closed 7 years ago
Patch thyself!
Woo!
2016-10-23 16:42:00,216 INFO Initial blacklisted packages:
2016-10-23 16:42:00,216 INFO Initial whitelisted packages:
2016-10-23 16:42:00,216 INFO Starting unattended upgrades script
2016-10-23 16:42:00,216 INFO Allowed origins are: ['o=Ubuntu,a=xenial-security']
2016-10-23 16:42:02,632 INFO Packages that will be upgraded: tzdata
2016-10-23 16:42:02,633 INFO Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg.log'
2016-10-23 16:42:05,515 INFO All upgrades installed
Nice!!
This will rewrite configuration files to automatically install updates. By default, the AMIs already have
unattended-upgrades
installed, but it just updates package lists daily. This will also download packages and upgrade them daily, plus run autoclean weekly. (as recommended at https://help.ubuntu.com/lts/serverguide/automatic-updates.html) The default configuration will only automatically install package updates inxenial-security
. I've already run the three new lines in a root shell on both currently running servers. I'm going to check back in a week or so on/var/log/unattended-upgrades/
to see if things are working.