diff --git a/update.sh b/update.sh index 5ad987a..cf6e6ba 100644 --- a/update.sh +++ b/update.sh @@ -120,7 +120,11 @@ elif [ "${OS}" == "CentOS" ]; then # install the packages # libnsl is needed for pbis and needs to be installed already dnf install -y libnsl - dnf install -y sudo pbis-open rsync nano htop iperf3 bind-utils unzip nfs-utils git wget net-tools make + dnf install -y sudo pbis-open rsync nano htop iperf3 bind-utils unzip nfs-utils git wget net-tools make dnf-automatic + + # enable automatic updates + sed --in-place "s/^apply_updates\ =\ no/apply_updates\ =\ yes/" /etc/dnf/automatic.conf + systemctl enable --now dnf-automatic.timer # install vm tools if [ "${VM}" == "true" ]; then