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.
- DGX Spark info
- updated README with requirements
- realized that
fortunedoesn't show up for root user (on Debian systems at least), ans so it doesn't copy over the99_fortune.shas expected, so the workaround is to copy it anyway and handle the lack offortunein the shell script itself at call time
- added a random fortune if the
fortunecommand exists
- extended width of output by 1 character ("=")
- added GCE image name to output of
01_gcp.sh
- updated
awkscript inexample/dynmotd.d/30_oracledb_services_check.shto properly output multi-word status
- included Oracle Linux (OL) in
00_rhel.sh's output heading as OL is RHEL-based - Oracle DB status check script,
example/dynmotd.d/30_oracledb_services_check.sh
- Excluding
install.shfrom the background jobs count which shows up in the initial output during installation
- "Processes" now show the number of background jobs that are running as well
- for GCP, outputs additional access scopes, if any
- Raspberry Pi bootloader version info
- Raspberry Pi GPU memory allocation
- added extra condition when detecting when OS is a WSL distro to remove some false positive results
- moved logic of whether to display WSL information into
00_wsl.shitself
- extra system info if your system happens to be WSL
- first checks for existence of
tuned-admbefore 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-issueas 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_IPthat was added in v1.1.11
- obtaining CPU info from
lscpurather than from/proc/cpuinfoas 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 1to 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 -srather thanuname -n
- added extra checks as ensure the VM is a cloud instance
- extra metadata for GCP
jqno 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
dmto thedynmotdscript (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
hostnamecommand (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.shscript 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 profilein the output as I want to keep it concise & useful
Current userin the output as I want to keep it concise & useful
- CoreOS find version (PRETTY_NAME)
- Another option to obtain the IPv4 address via
getent hostsas 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_RHELandOS_DEBvariables that contain the OS name for RHEL-based and Debian-based distributions respectively- this! (CHANGELOG.md)
- Initial release