All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- extra system info if your system happens to be WSL
- first checks for existence of
tuned-adm
before RHEL scripts are installed
- querying AWS EC2 metadata now requires a temporary token
- uninstall script
- Tuned active profile for RHEL only
- reorganized/renamed files
- adding a check for presence of
/etc/rpi-issue
as newer versions of Raspbian OS no longer reports as Raspbian in/etc/os-release
- external IP from GCP compute engine metadata (if exists)
- external IP from AWS EC2 metadata (if exists)
- external IP from Azure VM (if exists)
- VPC name from GCP compute engine metadata
- I founds that more often than not, I didn't want my external IP to be shown so openly (i.e. when I want to use my server to show some demos), so I'm commenting out the
EXT_IP
that was added in v1.1.11
- obtaining CPU info from
lscpu
rather than from/proc/cpuinfo
as info for non-standard CPU types (i.e. Graviton2) won't necessarily show up in/proc/cpuinfo
- CPU info includes chip vendor
- added verbostiy to the install script
- added
--max-time 1
to the curl command when checking the internal metadata IP address as some would not give a valid response right away and would have to wait for a long timeout
- detects Oracle Linux as a distro
- source for external IP info via ipinfo.me/ip instead of ifconfig.me
- hostname obtained thru
hostname -s
rather thanuname -n
- added extra checks as ensure the VM is a cloud instance
- extra metadata for GCP
jq
no longer a requirement- in Azure, the "Zone" metadata has been replaced with "Location"
- suppressed some errors with installs
- requirement for
jq
- added scripts to pull some instance metadata info for GCP, AWS and Azure if it detects that VM is a cloud VM instance
- outputs the external/public IP (if any -- shows "None" otherwise)
- install script now adds a symlink
dm
to thedynmotd
script (easier to type when using this outside of just for its MOTD functionality)
- extra system info if your system happens to be a Raspberry Pi
- redid the way the interal/private IP is obtained via the
hostname
command (as newer versions produces more output than one would need)
- extra (commented out) lines of optional commands to gather AWS-specific metadata such as public IP or public DNS name
- redid the way AWS EC2 instance metadata is gathered (for instance id & instance type)
- OS distribution now auto-detected
- Reports CPU model & speed
- A simple
install.sh
script that installsdynmotd
- Default OS string is for Debian-based rather than RHEL/CentOS
- Instance ID of your AWS EC2 instance
- banner.txt to hold banners. Currently unused.
- "RHEL 7" banner &
tuned profile
in the output as I want to keep it concise & useful
Current user
in the output as I want to keep it concise & useful
- CoreOS find version (PRETTY_NAME)
- Another option to obtain the IPv4 address via
getent hosts
as certain distributions will return the IPv6 address when usinghostname -i
- Some of the way some commands were run so shellcheck won't warn (i.e. [SC2002], [SC2046], [SC2086], etc.)
- Will now look for a directory (default
/etc/dynmotd.d
) with custom scripts for addtional things you would like to check on that server. See examples
- Reorganized the variables to the order which they appear
OS_RHEL
andOS_DEB
variables that contain the OS name for RHEL-based and Debian-based distributions respectively- this! (CHANGELOG.md)
- Initial release