feat(dnf): commands for selective upgrades

This commit is contained in:
Michele Cereda
2024-06-10 22:48:30 +02:00
parent f9fd610508
commit bde73759ef
3 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
#!/usr/bin/env sh
sudo dnf list --available --showduplicates 'gitlab-runner'
sudo dnf check-update --bugfix --security
sudo dnf upgrade --security --sec-severity 'Critical' --downloadonly
sudo dnf -y upgrade --security --sec-severity 'Important'