From cf27ff040f284fcc8695e22aa70dd59cd7c779ab Mon Sep 17 00:00:00 2001 From: "Gaunt, John" Date: Mon, 17 Dec 2018 16:33:26 -0500 Subject: [PATCH] Update update.sh --- update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index 1609bf4..cacf352 100644 --- a/update.sh +++ b/update.sh @@ -32,15 +32,15 @@ if [ -f /etc/debian_version ]; then # CentOS OS elif [ -f /etc/redhat-release ]; then # isntall the epel for other packages and wget - yum install -y wget epel-release + yum install -y epel-release yum-utils # download the repo for PBIS-Open for SSO and Domain - wget -O /etc/yum.repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo + yum-config-manager --add-repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo # clean the yum cache yum clean all # install the packages - yum install -y pbis-open sudo nano htop nload iperf iperf3 bind-utils open-vm-tools yum-cron unzip nfs-utils git + yum install -y pbis-open sudo nano htop nload iperf iperf3 bind-utils open-vm-tools yum-cron unzip nfs-utils git wget # modify yum-cron config to auto install security updates and enable/start the service sed --in-place "s/^update_cmd\ =\ default/update_cmd\ =\ security/" /etc/yum/yum-cron.conf