initial commit

This commit is contained in:
Shane Peters
2019-01-11 10:45:03 -05:00
commit b89ba1ad5a
18 changed files with 3408 additions and 0 deletions

22
containers/graylog Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Configure Logstash for Odin
#
echo -e "\e[93m"
log() {
echo -e "\t\e[96m[*]${1}\e[93m"
}
export IP=$(ip route | awk '/src/{print $9}')
echo "logstash" >/etc/hostname
echo -e "${IP}\tlogstash" >> /etc/hosts
deluser -q --remove-home ubuntu
apt-get update || exit 1
apt-get --purge remove snapd lxd -y
apt-get upgrade -y
apt-get install -y htop wget openjdk-8-jre-headless uuid-runtime pwgen mongodb-server prometheus-node-exporter
echo -e "\e[0m"