distro fix
This commit is contained in:
parent
a4990e98e4
commit
fc90e6f62e
@ -69,7 +69,7 @@ export SERVER_TYPE="prod"
|
||||
#######################################################################################################################################################
|
||||
#Step 3: Grab slack runtime bits and deploy slack
|
||||
#######################################################################################################################################################
|
||||
curl --insecure -q $DIST_SERVER/$DIST_ROOT_PATH/distro > /usr/bin/distro
|
||||
curl --insecure -q $DIST_SERVER/$DIST_ROOT_PATH/bin/distro > /usr/bin/distro
|
||||
chmod +x /usr/bin/distro
|
||||
|
||||
apt-get -y install make perl rsync
|
||||
|
3
slack/prod/tsys-base/files/etc/rsyslog.d/10-remote.conf
Normal file
3
slack/prod/tsys-base/files/etc/rsyslog.d/10-remote.conf
Normal file
@ -0,0 +1,3 @@
|
||||
# Provides UDP forwarding. The IP is the server's IP address
|
||||
*.* @10.253.3.99:514
|
||||
|
@ -49,7 +49,7 @@ export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --purge autoremove --yes
|
||||
|
||||
#Step 2: Cleanup default cruft
|
||||
echo "removing evil from the world, one nano install at a time"
|
||||
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes --purge remove nano
|
||||
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes --purge remove nano resolvconf
|
||||
|
||||
if [ $UBUNTU_SERVER -eq 0 ]; then
|
||||
sed -i "s/dns=dnsmasq/#dns=dnsmasq/" /etc/NetworkManager/NetworkManager.conf
|
||||
@ -59,7 +59,7 @@ unlink /etc/resolv.conf
|
||||
ln -s /etc/tplab-resolv.conf /etc/resolv.conf
|
||||
|
||||
#Step 3: The usual suspects
|
||||
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install snmpd sssd sssd-ad ncdu iftop nethogs screen acct tshark tcpdump glances dstat htop sysdig sysstat rsync clamav logwatch zsh sl postfix molly-guard git mailutils ladvd etckeeper auditd rkhunter rsyslog ngrep ntp
|
||||
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install snmpd ncdu iftop nethogs screen acct tshark tcpdump glances dstat htop sysdig sysstat rsync clamav logwatch zsh sl postfix molly-guard git mailutils ladvd etckeeper auditd rkhunter rsyslog ngrep ntp nut-client lm-sensors zlib1g-dev uuid-dev libmnl-dev gcc make autoconf autoconf-archive autogen automake pkg-config curl
|
||||
|
||||
#Turn on process accounting
|
||||
echo "Turning on process accounting..."
|
||||
|
Loading…
Reference in New Issue
Block a user