2018-02-01 22:14:37 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-02-08 21:04:36 -06:00
|
|
|
ISUCS="$(hostname |grep ucs -c)"
|
|
|
|
|
|
|
|
if [ $ISUCS -ne 0 ]; then
|
|
|
|
echo "Do not run this on ucs host. Exiting..."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2019-02-24 19:46:07 -06:00
|
|
|
apt-get update
|
|
|
|
apt-get -y --purge autoremove
|
|
|
|
apt-get -y autoclean
|
|
|
|
apt-get -y upgrade
|
|
|
|
apt-get -y dist-upgrade
|
|
|
|
apt -y install htop glances dstat ladvd snmpd ntp tcpdump autofs logwatch molly-guard
|
|
|
|
|
|
|
|
slack tsys-base-$tsysSysLocation
|