Update 'update.sh'

This commit is contained in:
2020-07-21 21:24:17 -04:00
parent 076c176d1a
commit 7f7151e9c2

View File

@@ -32,17 +32,8 @@ if [ ${OS} == "Debian" ] || [ ${OS} == "Ubuntu" ]; then
# upgrade all packages
apt update; apt upgrade -y
# install the apt-transport-https
apt install -y apt-transport-https wget gnupg2
# download the gpg key for PBIS-Open
wget -O - http://repo.pbis.beyondtrust.com/apt/RPM-GPG-KEY-pbis | apt-key add -
# update the list of available packages
apt update
# install the packages on all systems
apt install -y sudo rsync nano htop nload iperf iperf3 unattended-upgrades unzip git nfs-common uptimed net-tools build-essential curl realmd oddjob oddjob-mkhomedir sssd sssd-tools libnss-sss libpam-sss adcli
apt install -y apt-transport-https wget gnupg2 sudo rsync nano htop nload iperf iperf3 unattended-upgrades unzip git nfs-common uptimed net-tools build-essential curl realmd oddjob oddjob-mkhomedir sssd sssd-tools libnss-sss libpam-sss adcli
# install vm tools
if [ "${VM}" == "true" ]; then
@@ -141,7 +132,7 @@ if [ -d /opt/homelab-scripts ]; then
git pull
else
cd /opt
git clone https://git.johnhgaunt.com/jgaunt/homelab-scripts.git
git clone https://git.johnhgaunt.com/jgaunt/homelab-scripts
fi
# install neofetch
@@ -151,7 +142,7 @@ if [ -d /opt/neofetch ]; then
make install
else
cd /opt
git clone https://github.com/dylanaraps/neofetch.git
git clone https://github.com/dylanaraps/neofetch
cd /opt/neofetch
make install
fi