Update 'update.sh'

This commit is contained in:
2020-06-12 20:12:19 -04:00
parent eb5771b2a3
commit 08d014d1bf

View File

@@ -120,7 +120,11 @@ elif [ "${OS}" == "CentOS" ]; then
# install the packages # install the packages
# libnsl is needed for pbis and needs to be installed already # libnsl is needed for pbis and needs to be installed already
dnf install -y libnsl 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 # install vm tools
if [ "${VM}" == "true" ]; then if [ "${VM}" == "true" ]; then