commit d6558cf344715ba40777edc0f6394fddcc46ec7f Author: Gero Müller Date: Tue Mar 15 21:51:50 2016 +0100 initial commit diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..ef7d9b4 --- /dev/null +++ b/Readme.md @@ -0,0 +1,4 @@ +Collection of bash scripts to setup debian systems. +Intended for single shot containers where full blown ansible setups are to much. + +curl https://code.camijo.de/gmueller/server-scripts/raw/master/jessie-server-common.sh | bash diff --git a/jessie-server-common.sh b/jessie-server-common.sh new file mode 100644 index 0000000..5740a8e --- /dev/null +++ b/jessie-server-common.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -e + +function main { + echo "Setup best practice default repositories, see http://httpredir.debian.org/" + tee /etc/apt/sources.list < /etc/motd + + echo "Install system and security utils." + apt install -y apticron logcheck ssmtp +} + + +main