Go to file
2024-10-24 12:40:05 +02:00
configure-updates initial commit 2024-10-24 12:40:05 +02:00
LICENSE initial commit 2024-10-24 12:40:05 +02:00
README.md initial commit 2024-10-24 12:40:05 +02:00

Unattended update script for Ubuntu 22.04 server.

Prerequisites

Ubuntu 22.04 server.

Important

This will configure unattended updates with the following.
Update packages
Update security packages
Remove unused depencies same as apt autoremove
Reboot if needed even with users logged on
Create a crontab entry to run updates every Sunday at 04:00

Download the script

git clone https://git.x-files.dk/ubuntu-server/unattended-updates.git

Usage

cd unattended-updates
sudo ./configure-updates

Postinstall

Nothing to do.

More guides can be found on [wiki.x-files.dk]

Last tested

January 12th 2024 on Ubuntu 22.04.