Use motd.tail for Debian and Ubuntu

On Ubuntu and Debain the motd.tail should be used rather than the motd file. Otherwise this will be overwritten on boot by the scripts in /etc/update-motd.d/

p.s. Sorry, I haven't used pull request before, so might have made a duplicate bug report..