Closed jelera closed 4 years ago
@rdp would it be possible to get a new gem release with this included? thanks!
OK pushed 1.1.0 give it a shot. That was terrifying LOL. Also a PR to add it to the README would be OK too! :)
Here's an opportunity, add support for another requested distro :) https://github.com/rdp/os/issues/42
It takes the
/etc/os-release
file and parses it into a ruby hash for easy access to things like distro name, id, id_like, version number, codename, etc.It doesn't change or break anything and I tested it well with many virtual machines.
Cheers,
Jose Elera jelera@gmail.com