Street Fighter MOTD
Why?
Because I can. Also, I was inspired by this article.
How?
Requirements
Configuring
- 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 byPUBLIC_IP
shell variable duringupdate-motd
script action. - Edit motd-variables file, and set all the variables which you defined in previous file.
Building
- Fire
vagrant up
and wait for the script to finish.
Installing
- Set a desired hostname on your machine i.e.
hostnamectl set-hostname blanka
- Copy all contents of the
dist
directory (preserving directory structure) to/etc/update-motd.d/
on the desired machine. - Install
update-motd
i.e.apt-get install update-motd