LegacyTechops/slack/prod/tsys-base/scripts/postinstall

18 lines
362 B
Plaintext
Raw Normal View History

2018-02-02 04:14:37 +00:00
#!/bin/bash
2018-02-09 03:04:36 +00: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-25 01:46:07 +00: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