1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-cthulhunetes-infras.../docs/os/automated-upgrades.md

35 lines
776 B
Markdown

# os automated upgrades
Rocky Linux is configured to automatically upgrade. The OS reboot is then
coordinated with Kubernetes nodes via [Kured](https://kured.dev/).
Inspired by [github.com/khuedoan/homelab](https://github.com/khuedoan/homelab/tree/da9afc6de0f27c1d431ae9ecf4f899cb6aedcd15/metal/roles/automatic_upgrade).
- [DNF automatic updates (Fedora docs)](https://docs.fedoraproject.org/en-US/quick-docs/autoupdates/)
## Setup
1. Install
```bash
dnf update -y
dnf install -y dnf-automatic dnf-utils
```
2. Configure
`/etc/dnf/automatic.conf`:
```conf
[commands]
upgrade_type = default
apply_updates = yes
```
3. Start
```bash
systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer
```