ansible-koji/opentofu/scripts/upgrade.bash

12 lines
150 B
Shell

#!/usr/bin/bash
# upgrade all
dnf -y upgrade
dnf -y distro-sync --allowerasing
dnf -y autoremove
# selinux relabel
fixfiles onboot
# reboot
reboot