#!/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