diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index 1aa5cd3..fc4cbad 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -104,5 +104,5 @@ sudo systemctl restart irqbalance sudo firewall-cmd --permanent --remove-service=cockpit sudo firewall-cmd --reload -sudo sed -i 's/apply_updates = no/apply_updates = yes/g' /etc/dnf/automatic.conf +sudo sed -i 's/apply_updates = no/apply_updates = yes\nreboot = when-needed/g' /etc/dnf/automatic.conf sudo systemctl enable --now dnf-automatic.timer