Hi all,
I now have a working version of fedora-motd[1] for use in Fedor Cloud images.
You can give it a run as follows:
Setup ===== git clone https://github.com/rtnpro/fedora-motd.git cd fedora-motd sudo python setup.py install sudo echo "session include motdgen" >> /etc/pam.d/sshd sudo motdgen-cache-dnfupdateinfo
Usage ===== SSH login to the machine you setup fedora-motd on, and you should see something like:
Last login: Thu Feb 4 22:39:21 2016 from 127.0.0.1 22:39:58 up 17 days, 13:52, 6 users, load average: 0.88, 0.68, 0.46 Updates Information Summary: available 34 Security notice(s) 66 Bugfix notice(s) 26 Enhancement notice(s)
1 other notice(s)
Let me know what you think. I wish I could get rid of the step to modify /etc/pam.d/sshd, but I could not find any workaround. If the above looks good, I will make an RPM package for it and put up for review.
[1]: https://github.com/rtnpro/fedora-motd
Thanks, rtnpro