31 lines
659 B
Markdown
31 lines
659 B
Markdown
## 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
|
|
|
|
### 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
|
|
More guides can be found on [\[wiki.xfiles.dk\]](https://wiki.x-files.dk)
|
|
|
|
### Last tested
|
|
January 12th 2024 on Ubuntu 22.04.
|