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