diff --git a/setup/additionals.sh b/setup/additionals.sh index cdd13134..35e92797 100644 --- a/setup/additionals.sh +++ b/setup/additionals.sh @@ -20,3 +20,8 @@ tools/editconf.py /etc/systemd/journald.conf MaxRetentionSec=2month tools/editconf.py /etc/systemd/journald.conf MaxFileSec=1week hide_output systemctl restart systemd-journald.service + +# Create forward for root emails +cat > /root/.forward << EOF; +administrator@$PRIMARY_HOSTNAME +EOF \ No newline at end of file