Not displaying the full MOTD
Hello,
the motd only displays this :
_ _
| |__ _ _ __| |_ __ __ _
| '_ \| | | |/ _` | '__/ _` |
| | | | |_| | (_| | | | (_| |
|_| |_|\__, |\__,_|_| \__,_|
|___/
Debian GNU/Linux 8.6 (jessie) (kernel 2.6.32-042stab116.1)
Last login: Mon Oct 24 20:34:29 2016 from 5.206.225.27
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
root@hydra ~#
The problem seems to come from this :
root@hydra ~/d/update-motd.d# bash 20-system-info
Traceback (most recent call last):
File "/etc/update-motd.d/sysinfo.py", line 67, in <module>
memperc = "%d%%" % (100-100.*meminfo['MemAvailable:']/(meminfo['MemTotal:'] or 1))
KeyError: 'MemAvailable:'