New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Setting Up Automatic Unattended Updates in Ubuntu
This is a handy feature which let's you setup automatic updates especially Security Updates. The Complete Guide is at https://github.com/Leo-G/DevopsWiki/wiki/Ubuntu-Debian-Unattended-Updates, let me know if you have any questions
Thanked by 1yomero
Comments
you should have posted that small guide in full here.
this way your post is nothing more then spamming your github url...
Automating updates?
In updates.sh enter the following:
Depending on your preferences you can include instable updates or stick to stable updates. You also could include apt-get -y dist-update/upgrade.
Now save&exit nano file.
...and you are done. Will update/upgrade at reboot of your machine. If you want to specifiy update times you could do something similar via cron.
I feel much more comfortable with the way recommended by the distro, plus it let's me select the type of updates, reboot time and I can configure email notifications.
Why write a script when all that is already available?