Update 'update.sh'
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user