Don't rely on apt-get upgrade.  Remove DEBIAN_FRONTEND from the global environment.  Add pwgen command.
Generate a password for the super user and skip the syslog.
Create a Makefile for convenience.