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