use `hostnamectl` instead of `hostname`
Open
Beginner friendly
enhancement
- Dominant language
- Python
- Stars
- 8
- Forks
- 172
- Avg merge
- 14h 51m
- Merged PRs (30d)
- 180
Description
**Is your feature request related to a problem? Please describe.**
`hostname` is not installed by default on RHEL 10. It can be installed with `sudo dnf install hostname`. `hostnamectl hostname` is available by default. It would be great it we could use `hostnamectl` instead.
**Describe the solution you'd like**
Do not require the installation of the `hostname` package.
Contributor guide
Research direction
No file or test is named. Search the repository's deployment and configuration code for uses of `hostname`, then inspect the surrounding task or command entry point. Done means the implementation uses `hostnamectl` and no longer requires the `hostname` package on RHEL 10.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, linux
- Domain
- infrastructure, operating-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100