From 08d014d1bff89b8713f6ae16857832b1468c4d94 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Fri, 12 Jun 2020 20:12:19 -0400 Subject: [PATCH] Update 'update.sh' --- update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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