bash-commons
bash-commons copied to clipboard
bug/RHEL identity update for 8
RHEL 8 removed the word "Server" from the PRETTY NAME. This caused RHEL 8 servers to not be able to identify
I probably need to re-submit this with a proper Branch name. And maybe submit an issue...
Description
Added the ability of the os_is_redhat function to properly detect RHEL 8.
TODOs
Please ensure all of these TODOs are completed before asking for a review.
- [ ] Ensure the branch is named correctly with the issue number. e.g:
feature/new-vpc-endpoints-955
orbug/missing-count-param-434
. - [ ] Update the docs.
- [ ] Keep the changes backward compatible where possible.
- [ ] Run the pre-commit checks successfully.
- [ ] Run the relevant tests successfully.
- [ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.