distro fix

This commit is contained in:
Charles N Wyble - admin 2019-04-21 13:11:18 -05:00
parent a4990e98e4
commit fc90e6f62e
3 changed files with 6 additions and 3 deletions

View File

@ -69,7 +69,7 @@ export SERVER_TYPE="prod"
####################################################################################################################################################### #######################################################################################################################################################
#Step 3: Grab slack runtime bits and deploy slack #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 chmod +x /usr/bin/distro
apt-get -y install make perl rsync apt-get -y install make perl rsync

View File

@ -0,0 +1,3 @@
# Provides UDP forwarding. The IP is the server's IP address
*.* @10.253.3.99:514

View File

@ -49,7 +49,7 @@ export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --purge autoremove --yes
#Step 2: Cleanup default cruft #Step 2: Cleanup default cruft
echo "removing evil from the world, one nano install at a time" 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 if [ $UBUNTU_SERVER -eq 0 ]; then
sed -i "s/dns=dnsmasq/#dns=dnsmasq/" /etc/NetworkManager/NetworkManager.conf 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 ln -s /etc/tplab-resolv.conf /etc/resolv.conf
#Step 3: The usual suspects #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 #Turn on process accounting
echo "Turning on process accounting..." echo "Turning on process accounting..."