Street Fighter MOTD
Because I can. Also, I was inspired by this article.
- Edit host-data.txt file, it will be appended to final MOTDs. If you wish to use variables, put their names between
##. For example
##PUBLIC_IP##will be replaced by
PUBLIC_IPshell variable during
- Edit motd-variables file, and set all the variables which you defined in previous file.
vagrant upand wait for the script to finish.
- Set a desired hostname on your machine i.e.
hostnamectl set-hostname blanka
- Copy all contents of the
distdirectory (preserving directory structure) to
/etc/update-motd.d/on the desired machine.
apt-get install update-motd